Differences From Artifact [e7600b0d22]:
- File src/runtime/category.m — part of check-in [ff680022ad] at 2012-04-18 19:06:34 on branch runtime — category.m: Fix cls->info check. (user: js, size: 3185) [annotate] [blame] [check-ins using]
To Artifact [c947f89bcc]:
- File
src/runtime/category.m
— part of check-in
[963db3089f]
at
2012-05-10 18:21:18
on branch runtime
— objc_hashtable_alloc() -> objc_hashtable_new().
For consistency. (user: js, size: 3183) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
45 46 47 48 49 50 51 | static void register_category(struct objc_abi_category *cat) { struct objc_abi_category **cats; Class cls = objc_classname_to_class(cat->class_name); if (categories == NULL) | | | 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | static void register_category(struct objc_abi_category *cat) { struct objc_abi_category **cats; Class cls = objc_classname_to_class(cat->class_name); if (categories == NULL) categories = objc_hashtable_new(2); cats = (struct objc_abi_category**)objc_hashtable_get(categories, cat->class_name); if (cats != NULL) { struct objc_abi_category **ncats; size_t i; |
︙ | ︙ |