Index: src/runtime/lookup.m ================================================================== --- src/runtime/lookup.m +++ src/runtime/lookup.m @@ -62,11 +62,11 @@ return imp; } IMP -objc_msg_lookup_super(struct objc_abi_super *super, SEL sel) +objc_msg_lookup_super(struct objc_super *super, SEL sel) { IMP imp; if (super->self == nil) return (IMP)nil_method; Index: src/runtime/runtime-private.h ================================================================== --- src/runtime/runtime-private.h +++ src/runtime/runtime-private.h @@ -58,15 +58,10 @@ struct objc_abi_method_list *instance_methods; struct objc_abi_method_list *class_methods; struct objc_protocol_list *protocols; }; -struct objc_abi_super { - id self; - Class class; -}; - struct objc_abi_method_description { const char *name; const char *types; }; Index: src/runtime/runtime.h ================================================================== --- src/runtime/runtime.h +++ src/runtime/runtime.h @@ -64,10 +64,15 @@ struct objc_selector { uintptr_t uid; const char *types; }; + +struct objc_super { + id self; + Class class; +}; struct objc_method { struct objc_selector sel; IMP imp; }; @@ -110,9 +115,10 @@ extern BOOL class_conformsToProtocol(Class, Protocol*); extern IMP class_getMethodImplementation(Class, SEL); extern IMP class_replaceMethod(Class, SEL, IMP, const char*); extern const char* objc_get_type_encoding(Class, SEL); extern IMP objc_msg_lookup(id, SEL); +extern IMP objc_msg_lookup_super(struct objc_super*, SEL); extern void objc_thread_add(void); extern void objc_thread_remove(void); extern void objc_exit(void); #endif