diff options
| author | Julian Ceipek <julian.ceipek@gmail.com> | 2022-10-20 21:18:11 -0400 |
|---|---|---|
| committer | Julian Ceipek <julian.ceipek@gmail.com> | 2022-10-20 21:18:11 -0400 |
| commit | f26516f6faf337f39bab172ebba7ae2cb1337fcc (patch) | |
| tree | b56b77180f011491f082455c27f94c1deac8c14e | |
| parent | fda8e8a30b36c71b08642668f18ee7f8d12f417b (diff) | |
Add `objc_registerClassPair` to allow subclassing
| -rw-r--r-- | vendor/darwin/Foundation/objc.odin | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vendor/darwin/Foundation/objc.odin b/vendor/darwin/Foundation/objc.odin index 9468b971a..03cc7648e 100644 --- a/vendor/darwin/Foundation/objc.odin +++ b/vendor/darwin/Foundation/objc.odin @@ -11,6 +11,7 @@ foreign Foundation { objc_lookUpClass :: proc "c" (name: cstring) -> Class --- sel_registerName :: proc "c" (name: cstring) -> SEL --- objc_allocateClassPair :: proc "c" (superclass : Class, name : cstring, extraBytes : c.size_t) -> Class --- + objc_registerClassPair :: proc "c" (cls : Class) --- class_addMethod :: proc "c" (cls: Class, name: SEL, imp: IMP, types: cstring) -> BOOL --- class_getInstanceMethod :: proc "c" (cls: Class, name: SEL) -> Method --- |