Differences From Artifact [8959ceec24]:
- File
src/runtime/runtime-private.h
— part of check-in
[4e40a57efa]
at
2017-04-02 15:30:03
on branch trunk
— Make __objc_exec_class() take a void*
This is necessary for ObjC++ with GCC, as otherwise, this generates an
error. Since the objc_abi_module struct is private anyway, there is not
much reason to have the argument of that type. (user: js, size: 5785) [annotate] [blame] [check-ins using]
To Artifact [a994a21929]:
- File
src/runtime/runtime-private.h
— part of check-in
[4af49a13c3]
at
2017-05-07 20:10:13
on branch trunk
— Small code style change
Casts are now written like types in variable declarations. (user: js, size: 5813) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
119 120 121 122 123 124 125 | } *buckets[256]; #else IMP buckets[256]; #endif } *buckets[256]; }; | | | | | | | | | | | | | | | | | | | | | | | | | | 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 | } *buckets[256]; #else IMP buckets[256]; #endif } *buckets[256]; }; extern void objc_register_all_categories(struct objc_abi_symtab *); extern struct objc_category **objc_categories_for_class(Class); extern void objc_unregister_all_categories(void); extern void objc_initialize_class(Class); extern void objc_update_dtable(Class); extern void objc_register_all_classes(struct objc_abi_symtab *); extern Class objc_classname_to_class(const char *, bool); extern void objc_unregister_class(Class); extern void objc_unregister_all_classes(void); extern uint32_t objc_hash_string(const void *); extern bool objc_equal_string(const void *, const void *); extern struct objc_hashtable *objc_hashtable_new(uint32_t (*)(const void *), bool (*)(const void *, const void *), uint32_t); extern struct objc_hashtable_bucket objc_deleted_bucket; extern void objc_hashtable_set(struct objc_hashtable *, const void *, const void *); extern void *objc_hashtable_get(struct objc_hashtable *, const void *); extern void objc_hashtable_delete(struct objc_hashtable *, const void *); extern void objc_hashtable_free(struct objc_hashtable *); extern void objc_register_selector(struct objc_abi_selector *); extern void objc_register_all_selectors(struct objc_abi_symtab *); extern void objc_unregister_all_selectors(void); extern struct objc_sparsearray *objc_sparsearray_new(uint8_t); extern void *objc_sparsearray_get(struct objc_sparsearray *, uintptr_t); extern void objc_sparsearray_set(struct objc_sparsearray *, uintptr_t, void *); extern void objc_sparsearray_free(struct objc_sparsearray *); extern struct objc_dtable *objc_dtable_new(void); extern void objc_dtable_copy(struct objc_dtable *, struct objc_dtable *); extern void objc_dtable_set(struct objc_dtable *, uint32_t, IMP); extern void objc_dtable_free(struct objc_dtable *); extern void objc_dtable_cleanup(void); extern void objc_init_static_instances(struct objc_abi_symtab *); extern void objc_forget_pending_static_instances(void); #ifdef OF_HAVE_THREADS extern void objc_global_mutex_lock(void); extern void objc_global_mutex_unlock(void); extern void objc_global_mutex_free(void); #else # define objc_global_mutex_lock() |
︙ | ︙ |