ObjFW  Check-in [94b66c350d]

Overview
Comment:runtime.h: Add extern "C".
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 94b66c350d1e292411f6b6f0723f54f07f0e5ae5700e717a6fc69d0c167eda82
User & Date: js on 2013-01-15 01:49:34
Other Links: manifest | tags
Context
2013-01-15
02:06
Prevent importing atomic.h without atomic ops. check-in: a7c16ea8b3 user: js tags: trunk
01:49
runtime.h: Add extern "C". check-in: 94b66c350d user: js tags: trunk
00:01
-[OFString cStringWithEncoding:]: Add ISO 8859-15. check-in: 14a638f75e user: js tags: trunk
Changes

Modified src/runtime/runtime.h from [707672b98c] to [577c4aab36].

160
161
162
163
164
165
166



167
168
169
170
171
172
173
#define Nil (Class)0
#define nil (id)0
#define YES (BOOL)1
#define NO  (BOOL)0

typedef void (*objc_uncaught_exception_handler)(id);




extern SEL sel_registerName(const char*);
extern const char* sel_getName(SEL);
extern BOOL sel_isEqual(SEL, SEL);
extern id objc_lookUpClass(const char*);
extern id objc_getClass(const char*);
extern id objc_getRequiredClass(const char*);
extern BOOL class_isMetaClass(Class);







>
>
>







160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
#define Nil (Class)0
#define nil (id)0
#define YES (BOOL)1
#define NO  (BOOL)0

typedef void (*objc_uncaught_exception_handler)(id);

#ifdef __cplusplus
extern "C" {
#endif
extern SEL sel_registerName(const char*);
extern const char* sel_getName(SEL);
extern BOOL sel_isEqual(SEL, SEL);
extern id objc_lookUpClass(const char*);
extern id objc_getClass(const char*);
extern id objc_getRequiredClass(const char*);
extern BOOL class_isMetaClass(Class);
192
193
194
195
196
197
198



199
200
201
202
extern objc_uncaught_exception_handler objc_setUncaughtExceptionHandler(
    objc_uncaught_exception_handler);
extern IMP (*objc_forward_handler)(id, SEL);
extern id objc_autorelease(id);
extern void* objc_autoreleasePoolPush(void);
extern void objc_autoreleasePoolPop(void*);
extern id _objc_rootAutorelease(id);




#undef OBJC_UNSAFE_UNRETAINED

#endif







>
>
>




195
196
197
198
199
200
201
202
203
204
205
206
207
208
extern objc_uncaught_exception_handler objc_setUncaughtExceptionHandler(
    objc_uncaught_exception_handler);
extern IMP (*objc_forward_handler)(id, SEL);
extern id objc_autorelease(id);
extern void* objc_autoreleasePoolPush(void);
extern void objc_autoreleasePoolPop(void*);
extern id _objc_rootAutorelease(id);
#ifdef __cplusplus
}
#endif

#undef OBJC_UNSAFE_UNRETAINED

#endif