Differences From Artifact [a0cafa1d2d]:
- File
src/macros.h
— part of check-in
[d9c9a3d0bc]
at
2016-07-03 12:19:33
on branch trunk
— Add forwardingTargetForSelector: for x86_64/Mach-O
This is for the ObjFW runtime - for the Apple runtime, this did already
exist. (user: js, size: 14052) [annotate] [blame] [check-ins using]
To Artifact [54a3501810]:
- File src/macros.h — part of check-in [13f4c6c678] at 2016-09-12 00:27:14 on branch trunk — Add OF_DEALLOC_UNSUPPORTED macro (user: js, size: 14537) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
317 318 319 320 321 322 323 324 325 326 327 328 329 330 | } @catch (id e) { \ [self release]; \ @throw e; \ } \ \ abort(); #endif #ifdef __cplusplus extern "C" { #endif extern id objc_getProperty(id, SEL, ptrdiff_t, BOOL); extern void objc_setProperty(id, SEL, ptrdiff_t, id, BOOL, signed char); #ifdef __cplusplus | > > > > > > > > > > > > > > > > > | 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 | } @catch (id e) { \ [self release]; \ @throw e; \ } \ \ abort(); #endif #ifdef __clang__ # define OF_DEALLOC_UNSUPPORTED \ [self doesNotRecognizeSelector: _cmd]; \ \ abort(); \ \ _Pragma("clang diagnostic push ignore \"-Wunreachable-code\""); \ [super dealloc]; /* Get rid of a stupid warning */ \ _Pragma("clang diagnostic pop"); #else # define OF_DEALLOC_UNSUPPORTED \ [self doesNotRecognizeSelector: _cmd]; \ \ abort(); \ \ [super dealloc]; /* Get rid of a stupid warning */ #endif #ifdef __cplusplus extern "C" { #endif extern id objc_getProperty(id, SEL, ptrdiff_t, BOOL); extern void objc_setProperty(id, SEL, ptrdiff_t, id, BOOL, signed char); #ifdef __cplusplus |
︙ | ︙ |