diff options
author | nicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-10-15 22:27:39 +0000 |
---|---|---|
committer | nicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-10-15 22:27:39 +0000 |
commit | cd9fd8f49ed8d1933887d048b692de11a2247e88 (patch) | |
tree | 4a6954b1f7b91675bedaa8e8b7d3351ee0f9d7d7 /libobjc/objc-private | |
parent | 4730466b5737baca4efd606025cb52b019fd6613 (diff) | |
download | gcc-cd9fd8f49ed8d1933887d048b692de11a2247e88.tar.gz |
In libobjc/:
2010-10-15 Nicola Pero <nicola.pero@meta-innovation.com>
* objc-private/runtime.h (__objc_update_classes_with_methods): New.
* class.c (__objc_update_classes_with_methods): New.
(objc_getClassList): Do not lock the class lock.
* methods.c (method_exchangeImplementations): New.
(method_setImplementation): New.
* objc/runtime.h (method_setImplementation): New.
(method_exchangeImplementations): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165525 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc/objc-private')
-rw-r--r-- | libobjc/objc-private/runtime.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libobjc/objc-private/runtime.h b/libobjc/objc-private/runtime.h index 6794d181513..ff924becd93 100644 --- a/libobjc/objc-private/runtime.h +++ b/libobjc/objc-private/runtime.h @@ -74,6 +74,9 @@ extern void class_add_method_list(Class, struct objc_method_list *); extern void __objc_register_instance_methods_to_class(Class); extern struct objc_method * search_for_method_in_list(struct objc_method_list * list, SEL op); +extern void +__objc_update_classes_with_methods (struct objc_method *method_a, struct objc_method *method_b); /* class.c */ + /* True when class links has been resolved */ extern BOOL __objc_class_links_resolved; |