diff --git a/vendor/darwin/Foundation/objc.odin b/vendor/darwin/Foundation/objc.odin index 7db82df73..78f1f7780 100644 --- a/vendor/darwin/Foundation/objc.odin +++ b/vendor/darwin/Foundation/objc.odin @@ -13,6 +13,9 @@ foreign Foundation { objc_allocateClassPair :: proc "c" (superclass: Class, name: cstring, extraBytes: uint) --- class_addMethod :: proc "c" (cls: Class, name: SEL, imp: IMP, types: cstring) -> BOOL --- + class_getInstanceMethod :: proc "c" (cls: Class, name: SEL) -> Method --- + + method_setImplementation :: proc "c" (method: Method, imp: IMP) --- }