@@ -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