diff options
| author | Jan Ivanecky <jan.ivanecky@hotmail.com> | 2022-10-08 16:29:49 +0200 |
|---|---|---|
| committer | Jan Ivanecky <jan.ivanecky@hotmail.com> | 2022-10-08 16:29:49 +0200 |
| commit | 141133e3263b8a8a6004d48c6d8a74ecae9cc3ad (patch) | |
| tree | c8e085cde27ec866aeb7f13a65ce0184c1006d30 | |
| parent | 62440df05158d48bb006ff908b1a3604a6f60d0c (diff) | |
Add class_getInstanceMethod, method_setImplementation bindings
| -rw-r--r-- | vendor/darwin/Foundation/objc.odin | 3 |
1 files changed, 3 insertions, 0 deletions
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) --- } |