Overview
Comment: | Add class_isMetaClass(). |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
c50d4f783778ebfd55caaff892133e4a |
User & Date: | js on 2012-08-03 20:49:47 |
Other Links: | manifest | tags |
Context
2012-08-03
| ||
22:37 | Implement basic forwarding. check-in: 285e1138bc user: js tags: trunk | |
20:49 | Add class_isMetaClass(). check-in: c50d4f7837 user: js tags: trunk | |
18:45 | Add ARC type qualifiers. check-in: 881cfff24e user: js tags: trunk | |
Changes
Modified src/runtime/runtime.h from [db1c5610a1] to [da40cdf48e].
︙ | ︙ | |||
179 180 181 182 183 184 185 186 187 188 189 190 191 192 | extern BOOL protocol_isEqual(Protocol*, Protocol*); extern BOOL protocol_conformsToProtocol(Protocol*, Protocol*); extern void objc_thread_add(void); extern void objc_thread_remove(void); extern void objc_exit(void); extern objc_uncaught_exception_handler objc_setUncaughtExceptionHandler( objc_uncaught_exception_handler); extern id objc_autorelease(id); extern void* objc_autoreleasePoolPush(void); extern void objc_autoreleasePoolPop(void*); extern id _objc_rootAutorelease(id); static inline Class object_getClass(id obj_) | > | 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 | extern BOOL protocol_isEqual(Protocol*, Protocol*); extern BOOL protocol_conformsToProtocol(Protocol*, Protocol*); extern void objc_thread_add(void); extern void objc_thread_remove(void); extern void objc_exit(void); 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); static inline Class object_getClass(id obj_) |
︙ | ︙ | |||
208 209 210 211 212 213 214 215 216 217 218 | } static inline const char* object_getClassName(id obj) { return class_getName(object_getClass(obj)); } #undef OBJC_BRIDGE #endif | > > > > > > | 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 | } static inline const char* object_getClassName(id obj) { return class_getName(object_getClass(obj)); } static inline BOOL class_isMetaClass(Class cls) { return (cls->info & OBJC_CLASS_INFO_METACLASS); } #undef OBJC_BRIDGE #endif |