Differences From Artifact [8f35574758]:
- File
src/runtime/ObjFW-RT.h
— part of check-in
[126298a6ee]
at
2017-07-16 17:09:01
on branch trunk
— runtime: Use _Nonnull / _Nullable directly
Instead of using OBJC_NONNULL and OBJC_NULLABLE, define _Nonnull and
_Nullable to nothing if they are not defined.Same for __unsafe_unretained. (user: js, size: 8293) [annotate] [blame] [check-ins using]
To Artifact [58330b8a4d]:
- File
src/runtime/ObjFW-RT.h
— part of check-in
[d5706b7070]
at
2017-07-17 23:02:26
on branch trunk
— runtime: Prepare for having a glue library
A glue library is required as the compiler generates direct references
to some runtime functions. (user: js, size: 8729) [annotate] [blame] [check-ins using]
︙ | |||
23 24 25 26 27 28 29 30 31 32 33 34 35 36 | 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | + + | #ifndef __STDC_CONSTANT_MACROS # define __STDC_CONSTANT_MACROS #endif #include <stdbool.h> #include <stddef.h> #include <stdint.h> #import "platform.h" #ifndef __has_feature # define __has_feature(x) 0 #endif #ifndef __has_attribute # define __has_attribute(x) 0 |
︙ | |||
195 196 197 198 199 200 201 | 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 | + - + - + - - - | struct objc_protocol_list { struct objc_protocol_list *_Nullable next; long count; Protocol *__unsafe_unretained _Nonnull list[1]; }; #if 1 /* !defined(OF_MORPHOS) || defined(OF_COMPILING_OBJFW_RT) */ |
︙ | |||
236 237 238 239 240 241 242 243 | 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 | + + + - + + + + + + + + + + + + + + + + + + + + + + + + - - | extern bool protocol_isEqual(Protocol *_Nonnull, Protocol *_Nonnull); extern bool protocol_conformsToProtocol(Protocol *_Nonnull, Protocol *_Nonnull); extern void objc_exit(void); extern _Nullable objc_uncaught_exception_handler objc_setUncaughtExceptionHandler( objc_uncaught_exception_handler _Nullable); extern void objc_setForwardHandler(IMP _Nullable, IMP _Nullable); extern void objc_setEnumerationMutationHandler( objc_enumeration_mutation_handler _Nullable); extern void objc_zero_weak_references(id _Nonnull); # ifdef __cplusplus |