Differences From Artifact [aabddd2a24]:
- File src/OFLocking.h — part of check-in [9e76144ef8] at 2015-06-13 22:26:05 on branch trunk — Add support for and use the new nullability (user: js, size: 1310) [annotate] [blame] [check-ins using]
To Artifact [5d56441827]:
- File
src/OFLocking.h
— part of check-in
[80e1a9655b]
at
2015-06-17 22:11:31
on branch trunk
— Add OF_NULLABLE_PROPERTY
This is necessary to make GCC (>= 4.6 and Apple GCC) happy as they don't
like the list of property attributes ending in a comma. (user: js, size: 1321) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
21 22 23 24 25 26 27 | /*! * @protocol OFLocking OFLocking.h ObjFW/OFLocking.h * * @brief A protocol for locks. */ @protocol OFLocking <OFObject> #ifdef OF_HAVE_PROPERTIES | | | 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; |
︙ | ︙ |