-
- Downloads
In libobjc/: 2010-10-14 Nicola Pero <nicola.pero@meta-innovation.com>
In libobjc/: 2010-10-14 Nicola Pero <nicola.pero@meta-innovation.com> * init.c (__objc_init_protocol): New function which fixes up a protocol's class pointer, registers it with the runtime, register all protocol selectors and registers associated protocols too. (objc_init_statics): Detect if we are initializing protocols, and if so, use __objc_init_protocol instead of only fixing up the class pointer. (__objc_init_protocls): Use __objc_init_protocol. * objc-private/module-abi-8.h: Updated comments. * objc-private/runtime.h (__objc_register_selectors_from_description_list): New. * selector.c (__objc_register_selectors_from_description_list): New. (struct objc_method_description_list): Declare. * Protocol.m ([-descriptionForInstanceMethod:]): Use sel_get_name when accessing the name of a method, which is now correctly a SEL. ([-descriptionForClassMethod:]): Same change. * protocols.c (protocol_getMethodDescription): Same change. * objc/runtime.h: Updated comments. (sel_registerTypedName): Fixed typo in function name. From-SVN: r165499
Showing
- libobjc/ChangeLog 21 additions, 0 deletionslibobjc/ChangeLog
- libobjc/Protocol.m 2 additions, 2 deletionslibobjc/Protocol.m
- libobjc/init.c 69 additions, 23 deletionslibobjc/init.c
- libobjc/objc-private/module-abi-8.h 14 additions, 7 deletionslibobjc/objc-private/module-abi-8.h
- libobjc/objc-private/runtime.h 2 additions, 0 deletionslibobjc/objc-private/runtime.h
- libobjc/objc/runtime.h 9 additions, 9 deletionslibobjc/objc/runtime.h
- libobjc/protocols.c 1 addition, 1 deletionlibobjc/protocols.c
- libobjc/selector.c 34 additions, 0 deletionslibobjc/selector.c
Loading
Please register or sign in to comment