Differences From Artifact [e7b0f05f6d]:
- File
src/macros.h
— part of check-in
[cec0f072f8]
at
2016-01-03 00:43:58
on branch 0.8
— Update copyright
While at it, also update the mail address. (user: js, size: 14928) [annotate] [blame] [check-ins using]
To Artifact [c42b7644a0]:
- File
src/macros.h
— part of check-in
[ea5a19118a]
at
2016-03-20 10:55:31
on branch 0.8
— undef __{unsafe_unretained,bridge,autoreleasing}
Newer versions of Clang have these as built-in defines, even when ARC is
disabled. (user: js, size: 15108) [annotate] [blame] [check-ins using]
︙ | |||
158 159 160 161 162 163 164 165 166 167 168 169 170 171 | 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 | + + + + + + + | # define OF_WEAK_UNAVAILABLE __attribute__((__objc_arc_weak_unavailable__)) #else # define OF_RETURNS_RETAINED # define OF_RETURNS_NOT_RETAINED # define OF_RETURNS_INNER_POINTER # define OF_CONSUMED # define OF_WEAK_UNAVAILABLE /* * undef them first, as new Clang versions have these as built-in defines even * when ARC is disabled. */ # undef __unsafe_unretained # undef __bridge # undef __autoreleasing # define __unsafe_unretained # define __bridge # define __autoreleasing #endif #if __has_feature(objc_generics) # define OF_HAVE_GENERICS |
︙ |