Differences From Artifact [9620b63ed6]:
- File src/OFObject.h — part of check-in [e7d16fea58] at 2012-03-17 15:12:27 on branch trunk — Add of_alloc_object(). (user: js, size: 16056) [annotate] [blame] [check-ins using] [more...]
To Artifact [5bb4fe2eb8]:
- File
src/OFObject.h
— part of check-in
[e571ecccc0]
at
2012-04-21 10:30:01
on branch trunk
— Use __objc_yes and __objc_no if available.
This way, @YES and @NO work. (user: js, size: 16188) [annotate] [blame] [check-ins using]
︙ | |||
28 29 30 31 32 33 34 35 36 37 38 39 40 41 | 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | + + + + + + + | #include <limits.h> #ifdef OF_OBJFW_RUNTIME # import <objfw-rt.h> #else # import <objc/objc.h> #endif #if defined(__has_feature) && __has_feature(objc_bool) # undef YES # define YES __objc_yes # undef NO # define NO __objc_no #endif #define OF_RETAIN_COUNT_MAX UINT_MAX #define OF_INVALID_INDEX SIZE_MAX /** * \brief A result of a comparison. */ |
︙ |