ObjFW  Check-in [de24e36b29]

Overview
Comment:Make @true and @false work.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: de24e36b29d620e01a92a4af0a91fb7bc9e3535861f94e83e0d3797f14f35faa
User & Date: js on 2013-02-28 09:57:15
Other Links: manifest | tags
Context
2013-03-01
21:19
Rethrow some exceptions to fix class. check-in: 2de15db195 user: js tags: trunk
2013-02-28
09:57
Make @true and @false work. check-in: de24e36b29 user: js tags: trunk
2013-02-26
18:40
OFNumber: Add long long. check-in: fd8c1728ea user: js tags: trunk
Changes

Modified src/OFObject.h from [7e8147f893] to [c49016d190].

21
22
23
24
25
26
27

28
29
30
31
32
33
34
#endif
#ifndef __STDC_CONSTANT_MACROS
# define __STDC_CONSTANT_MACROS
#endif

#include <stddef.h>
#include <stdint.h>

#include <limits.h>

#ifdef OF_OBJFW_RUNTIME
# import "runtime.h"
#else
# import <objc/objc.h>
#endif







>







21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#endif
#ifndef __STDC_CONSTANT_MACROS
# define __STDC_CONSTANT_MACROS
#endif

#include <stddef.h>
#include <stdint.h>
#include <stdbool.h>
#include <limits.h>

#ifdef OF_OBJFW_RUNTIME
# import "runtime.h"
#else
# import <objc/objc.h>
#endif
72
73
74
75
76
77
78






79
80
81
82
83
84
85
#endif

#if __has_feature(objc_bool)
# undef YES
# define YES __objc_yes
# undef NO
# define NO __objc_no






#endif

#if defined(__clang__) || __GCC_VERSION__ >= 406
# define OF_SENTINEL __attribute__((sentinel))
#else
# define OF_SENTINEL
#endif







>
>
>
>
>
>







73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
#endif

#if __has_feature(objc_bool)
# undef YES
# define YES __objc_yes
# undef NO
# define NO __objc_no
# ifndef __cplusplus
#  undef true
#  define true ((bool)1)
#  undef false
#  define false ((bool)0)
# endif
#endif

#if defined(__clang__) || __GCC_VERSION__ >= 406
# define OF_SENTINEL __attribute__((sentinel))
#else
# define OF_SENTINEL
#endif