diff options
author | nicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-12-22 23:05:13 +0000 |
---|---|---|
committer | nicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-12-22 23:05:13 +0000 |
commit | e6ecf5f441afefa53af6e416a6283efd87309328 (patch) | |
tree | 85383fe2e6c72317b853c8b54568d8bf9a420e42 /libobjc/objc-private | |
parent | 4934c3ba86694795960c901f84036cbfaf677ea5 (diff) | |
download | gcc-e6ecf5f441afefa53af6e416a6283efd87309328.tar.gz |
In libobjc/:
2010-12-22 Nicola Pero <nicola.pero@meta-innovation.com>
* init.c (duplicate_classes): New.
(__objc_exec_class): Initialize duplicate_classes.
(__objc_create_classes_tree): Ignore classes in the
duplicate_classes table.
(__objc_call_load_callback): Same.
(__objc_init_class): If a duplicate class is found, add it to
duplicate_classes instead of aborting. Return YES if the class is
not a duplicate, and NO if it is.
* objc-private/runtime.h (__objc_init_class): Updated prototype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168183 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc/objc-private')
-rw-r--r-- | libobjc/objc-private/runtime.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libobjc/objc-private/runtime.h b/libobjc/objc-private/runtime.h index f4ad2e7178e..5406294f2c3 100644 --- a/libobjc/objc-private/runtime.h +++ b/libobjc/objc-private/runtime.h @@ -57,7 +57,7 @@ extern void __objc_update_dispatch_table_for_class (Class);/* (objc-msg.c) */ extern int __objc_init_thread_system (void); /* thread.c */ extern int __objc_fini_thread_system (void); /* thread.c */ -extern void __objc_init_class (Class class); /* init.c */ +extern BOOL __objc_init_class (Class class); /* init.c */ extern void class_add_method_list (Class, struct objc_method_list *); /* Registering instance methods as class methods for root classes */ |