diff options
author | Nicola Pero <nicola.pero@meta-innovation.com> | 2010-10-15 22:27:39 +0000 |
---|---|---|
committer | Nicola Pero <nicola@gcc.gnu.org> | 2010-10-15 22:27:39 +0000 |
commit | 51194e8eb5db1667efce48ef06a37436ca7ea7de (patch) | |
tree | 4a6954b1f7b91675bedaa8e8b7d3351ee0f9d7d7 /libobjc/objc-private | |
parent | ef7659966d956c7dcb34fad217fffafc1911f69d (diff) | |
download | gcc-51194e8eb5db1667efce48ef06a37436ca7ea7de.zip gcc-51194e8eb5db1667efce48ef06a37436ca7ea7de.tar.gz gcc-51194e8eb5db1667efce48ef06a37436ca7ea7de.tar.bz2 |
In libobjc/: 2010-10-15 Nicola Pero <nicola.pero@meta-innovation.com>
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.
From-SVN: r165525
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 6794d18..ff924be 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; |