Differences From Artifact [03d74b30fd]:
- File src/runtime/runtime.h — part of check-in [8f02ff02dc] at 2012-08-05 16:52:14 on branch trunk — Fix a possible race condition in initialize_class. (user: js, size: 5360) [annotate] [blame] [check-ins using]
To Artifact [47cf79266e]:
- File
src/runtime/runtime.h
— part of check-in
[0b32d65e0c]
at
2012-08-06 20:27:42
on branch trunk
— Make class_isMetaClass() ARC-compatible.
Also adds a missing OF_RETURNS_INNER_POINTER. (user: js, size: 5394) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
216 217 218 219 220 221 222 | static inline const char* object_getClassName(id obj) { return class_getName(object_getClass(obj)); } static inline BOOL | | > > | 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 | static inline const char* object_getClassName(id obj) { return class_getName(object_getClass(obj)); } static inline BOOL class_isMetaClass(Class cls_) { struct objc_class *cls = cls_; return (cls->info & OBJC_CLASS_INFO_METACLASS); } #undef OBJC_BRIDGE #endif |