Differences From Artifact [a5d4a53089]:
- File
src/runtime/ObjFW_RT.h
— part of check-in
[972fd1d98d]
at
2018-04-22 18:12:30
on branch trunk
— ObjFW_RT.h: Do not depend on platform.h
platform.h is only installed as part of ObjFW, not as part of the
runtime. (user: js, size: 8836) [annotate] [blame] [check-ins using]
To Artifact [2b0b102111]:
- File src/runtime/ObjFW_RT.h — part of check-in [d7870d7c1b] at 2018-04-29 18:23:55 on branch trunk — runtime: Rewrite amiga-library.m for AmigaOS 3 (user: js, size: 8977) [annotate] [blame] [check-ins using]
︙ | |||
53 54 55 56 57 58 59 60 61 62 63 64 65 66 | 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | + + + + + + + + + + + + + | # define __unsafe_unretained #endif #define Nil (Class _Null_unspecified)0 #define nil (id _Null_unspecified)0 #define YES true #define NO false #if defined(__amigaos__) && !defined(__MORPHOS__) && !defined(__amigaos4__) # define OBJC_M68K_REG(reg) __asm__(reg) #else # define OBJC_M68K_REG(reg) #endif #ifdef __MORPHOS__ # define OBJC_M68K_FUNC(name, args) name(void) # define OBJC_M68K_ARG(type, name, reg) type name = (type)reg; #else # define OBJC_M68K_FUNC(name, ...) name(__VA_ARGS__) # define OBJC_M68K_ARG(type, name, reg) #endif typedef struct objc_class *Class; typedef struct objc_object *id; typedef const struct objc_selector *SEL; #if !defined(__wii__) && !defined(__amigaos__) typedef bool BOOL; #endif |
︙ | |||
201 202 203 204 205 206 207 | 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 | - - + - + | struct objc_protocol_list { struct objc_protocol_list *_Nullable next; long count; Protocol *__unsafe_unretained _Nonnull list[1]; }; |
︙ | |||
243 244 245 246 247 248 249 | 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 | - + - - - - - - - - - - - - - - - + | 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); |
︙ |