From 51194e8eb5db1667efce48ef06a37436ca7ea7de Mon Sep 17 00:00:00 2001 From: Nicola Pero Date: Fri, 15 Oct 2010 22:27:39 +0000 Subject: In libobjc/: 2010-10-15 Nicola Pero In libobjc/: 2010-10-15 Nicola Pero * 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 --- libobjc/objc-private/runtime.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libobjc/objc-private') 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; -- cgit v1.1