diff options
| author | Julian Ceipek <julian.ceipek@gmail.com> | 2022-10-20 21:07:14 -0400 |
|---|---|---|
| committer | Julian Ceipek <julian.ceipek@gmail.com> | 2022-10-20 21:07:14 -0400 |
| commit | 2242178d967d01cdcf70c2b64b7fa52b91e338fe (patch) | |
| tree | 6258ac8f546b5de22fed32683de2ddcaa6d9d670 /core/runtime | |
| parent | 53e84b7f31a218102034c60e157b60d22adcf303 (diff) | |
Fix signature for `objc_allocateClassPair`
Diffstat (limited to 'core/runtime')
| -rw-r--r-- | core/runtime/procs_darwin.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/runtime/procs_darwin.odin b/core/runtime/procs_darwin.odin index b54a28dcc..9c53b5b16 100644 --- a/core/runtime/procs_darwin.odin +++ b/core/runtime/procs_darwin.odin @@ -12,7 +12,7 @@ objc_SEL :: ^intrinsics.objc_selector foreign Foundation { objc_lookUpClass :: proc "c" (name: cstring) -> objc_Class --- sel_registerName :: proc "c" (name: cstring) -> objc_SEL --- - objc_allocateClassPair :: proc "c" (superclass: objc_Class, name: cstring, extraBytes: uint) --- + objc_allocateClassPair :: proc "c" (superclass: objc_Class, name: cstring, extraBytes: uint) -> objc_Class --- objc_msgSend :: proc "c" (self: objc_id, op: objc_SEL, #c_vararg args: ..any) --- objc_msgSend_fpret :: proc "c" (self: objc_id, op: objc_SEL, #c_vararg args: ..any) -> f64 --- |