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
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
objc | Loading commit data... | |
objc-private | Loading commit data... | |
ChangeLog | Loading commit data... | |
Makefile.in | Loading commit data... | |
NXConstStr.m | Loading commit data... | |
Object.m | Loading commit data... | |
Protocol.m | Loading commit data... | |
README | Loading commit data... | |
THREADS | Loading commit data... | |
acinclude.m4 | Loading commit data... | |
aclocal.m4 | Loading commit data... | |
archive.c | Loading commit data... | |
class.c | Loading commit data... | |
config.h.in | Loading commit data... | |
configure | Loading commit data... | |
configure.ac | Loading commit data... | |
encoding.c | Loading commit data... | |
error.c | Loading commit data... | |
exception.c | Loading commit data... | |
gc.c | Loading commit data... | |
hash.c | Loading commit data... | |
init.c | Loading commit data... | |
ivars.c | Loading commit data... | |
libobjc.def | Loading commit data... | |
linking.m | Loading commit data... | |
memory.c | Loading commit data... | |
methods.c | Loading commit data... | |
nil_method.c | Loading commit data... | |
objc-foreach.c | Loading commit data... | |
objc-sync.c | Loading commit data... | |
objects.c | Loading commit data... | |
protocols.c | Loading commit data... | |
sarray.c | Loading commit data... | |
selector.c | Loading commit data... | |
sendmsg.c | Loading commit data... | |
thr.c | Loading commit data... |