ObjFW  Diff

Differences From Artifact [aabddd2a24]:

To Artifact [5d56441827]:


21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*!
 * @protocol OFLocking OFLocking.h ObjFW/OFLocking.h
 *
 * @brief A protocol for locks.
 */
@protocol OFLocking <OFObject>
#ifdef OF_HAVE_PROPERTIES
@property (copy, nullable) OFString *name;
#endif

/*!
 * @brief Locks the lock.
 */
- (void)lock;








|







21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*!
 * @protocol OFLocking OFLocking.h ObjFW/OFLocking.h
 *
 * @brief A protocol for locks.
 */
@protocol OFLocking <OFObject>
#ifdef OF_HAVE_PROPERTIES
@property OF_NULLABLE_PROPERTY (copy) OFString *name;
#endif

/*!
 * @brief Locks the lock.
 */
- (void)lock;