Overview
Comment: | Use _Nullable instead of __nullable
Same for _Nonnull / __nonnull. Apple implemented it as __nullable / __nonnull in their version of Clang |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | 0.8 |
Files: | files | file ages | folders |
SHA3-256: |
edd5f57b86247aa97f5e7ce5136d86fa |
User & Date: | js on 2015-10-01 20:39:13 |
Other Links: | branch diff | manifest | tags |
Context
2015-10-03
| ||
14:24 | Don't check for -pedantic for Nintendo DS check-in: 8f6ef2c686 user: js tags: 0.8 | |
2015-10-01
| ||
20:39 | Use _Nullable instead of __nullable check-in: edd5f57b86 user: js tags: 0.8 | |
20:38 | Fix compilation for PSP check-in: 1e30dbc891 user: js tags: 0.8 | |
Changes
Modified src/macros.h from [1619f8ecc0] to [a5359bc24a].
︙ | ︙ | |||
173 174 175 176 177 178 179 | #else # define OF_GENERIC(...) #endif #if __has_feature(nullability) # define OF_ASSUME_NONNULL_BEGIN _Pragma("clang assume_nonnull begin") # define OF_ASSUME_NONNULL_END _Pragma("clang assume_nonnull end") | | | | 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 | #else # define OF_GENERIC(...) #endif #if __has_feature(nullability) # define OF_ASSUME_NONNULL_BEGIN _Pragma("clang assume_nonnull begin") # define OF_ASSUME_NONNULL_END _Pragma("clang assume_nonnull end") # define OF_NONNULL _Nonnull # define OF_NULLABLE _Nullable # define OF_NULLABLE_PROPERTY(...) (__VA_ARGS__, nullable) #else # define OF_ASSUME_NONNULL_BEGIN # define OF_ASSUME_NONNULL_END # define OF_NONNULL # define OF_NULLABLE # define OF_NULLABLE_PROPERTY |
︙ | ︙ |