ObjFW  Check-in [7169decdef]

Overview
Comment:Fix missing #else.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 7169decdefe4ea7d16768e3bfc91db64a1d74a8cf9f639906025fcfb5b5b9b8b
User & Date: js on 2012-10-18 17:33:39
Other Links: manifest | tags
Context
2012-10-20
22:22
Call C++ constructors in correct order. check-in: 1dcbea2fb0 user: js tags: trunk
2012-10-18
17:33
Fix missing #else. check-in: 7169decdef user: js tags: trunk
2012-10-17
20:39
Small fix in instance.m. check-in: 879bf12fd0 user: js tags: trunk
Changes

Modified src/OFObject.h from [b6dffac34a] to [de75aa3e70].

76
77
78
79
80
81
82


83
84
85
86
87
88
89
# define YES __objc_yes
# undef NO
# define NO __objc_no
#endif

#if defined(__clang__) || __GCC_VERSION__ >= 406
# define OF_SENTINEL __attribute__((sentinel))


#endif

#if __has_feature(objc_arc)
# define OF_RETURNS_RETAINED __attribute__((ns_returns_retained))
# define OF_RETURNS_NOT_RETAINED __attribute__((ns_returns_not_retained))
# define OF_RETURNS_INNER_POINTER __attribute__((objc_returns_inner_pointer))
# define OF_CONSUMED __attribute__((ns_consumed))







>
>







76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# define YES __objc_yes
# undef NO
# define NO __objc_no
#endif

#if defined(__clang__) || __GCC_VERSION__ >= 406
# define OF_SENTINEL __attribute__((sentinel))
#else
# define OF_SENTINEL
#endif

#if __has_feature(objc_arc)
# define OF_RETURNS_RETAINED __attribute__((ns_returns_retained))
# define OF_RETURNS_NOT_RETAINED __attribute__((ns_returns_not_retained))
# define OF_RETURNS_INNER_POINTER __attribute__((objc_returns_inner_pointer))
# define OF_CONSUMED __attribute__((ns_consumed))