Differences From Artifact [4bf3aa81bc]:
- File src/macros.h — part of check-in [68b3d08ac1] at 2017-10-29 22:22:48 on branch trunk — macros.h: Add OF_SWIFT_NAME (user: js, size: 19855) [annotate] [blame] [check-ins using]
To Artifact [059976bd73]:
- File
src/macros.h
— part of check-in
[a2e849c681]
at
2017-10-30 00:23:35
on branch trunk
— Add class properties where appropriate
This improves Swift compatibility. (user: js, size: 19936) [annotate] [blame] [check-ins using]
︙ | |||
195 196 197 198 199 200 201 202 203 204 205 206 207 208 | 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 | + + + + | #endif #if __has_feature(objc_kindof) # define OF_KINDOF(cls) __kindof cls #else # define OF_KINDOF(cls) id #endif #if __has_feature(objc_class_property) # define OF_HAVE_CLASS_PROPERTIES #endif #if defined(__clang__) || OF_GCC_VERSION >= 405 # define OF_UNREACHABLE __builtin_unreachable(); #else # define OF_UNREACHABLE abort(); #endif |
︙ |