Differences From Artifact [ee48ca9342]:
- File
src/runtime/runtime.h
— part of check-in
[d4cae4c963]
at
2016-07-03 11:24:15
on branch trunk
— runtime: Add class_addMethod()
Also moves out some stuff to functions to be reusable by
class_addMethod(). (user: js, size: 6335) [annotate] [blame] [check-ins using]
To Artifact [3f8b6a0471]:
- File
src/runtime/runtime.h
— part of check-in
[5e267364ae]
at
2016-07-03 12:01:43
on branch trunk
— runtime: Add objc_enumerationMutation()
This was provided by OFObject before, but should actually be provided by
the runtime, as the compiler can generate code calling into it. (user: js, size: 6446) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 | extern id _objc_rootAutorelease(id); extern void objc_zero_weak_references(id); /* Used by the compiler, but can be called manually. */ extern IMP objc_msg_lookup(id, SEL); extern IMP objc_msg_lookup_stret(id, SEL); extern IMP objc_msg_lookup_super(struct objc_super*, SEL); extern IMP objc_msg_lookup_super_stret(struct objc_super*, SEL); #ifdef __cplusplus } #endif #undef OBJC_UNSAFE_UNRETAINED #undef OBJC_ROOT_CLASS #endif | > > | 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 | extern id _objc_rootAutorelease(id); extern void objc_zero_weak_references(id); /* Used by the compiler, but can be called manually. */ extern IMP objc_msg_lookup(id, SEL); extern IMP objc_msg_lookup_stret(id, SEL); extern IMP objc_msg_lookup_super(struct objc_super*, SEL); extern IMP objc_msg_lookup_super_stret(struct objc_super*, SEL); extern void objc_enumerationMutation(id); extern void objc_setEnumerationMutationHandler(void (*handler)(id)); #ifdef __cplusplus } #endif #undef OBJC_UNSAFE_UNRETAINED #undef OBJC_ROOT_CLASS #endif |