mirror of
https://github.com/odin-lang/Odin.git
synced 2026-06-14 14:23:43 +00:00
Update all_vendor.odin + procs_darwin.odin
This commit is contained in:
@@ -16,7 +16,7 @@ objc_Ivar :: ^intrinsics.objc_ivar
|
||||
objc_BOOL :: bool
|
||||
|
||||
objc_super :: struct {
|
||||
receiver: objc_id,
|
||||
receiver: objc_id,
|
||||
super_class: objc_Class,
|
||||
}
|
||||
|
||||
@@ -31,6 +31,7 @@ foreign ObjC {
|
||||
objc_msgSend_stret :: proc "c" (self: objc_id, op: objc_SEL, #c_vararg args: ..any) ---
|
||||
|
||||
// See: https://github.com/opensource-apple/objc4/blob/cd5e62a5597ea7a31dccef089317abb3a661c154/runtime/objc-abi.h#L111
|
||||
objc_msgSendSuper :: proc "c" (super: rawptr, op: objc_SEL, #c_vararg args: ..any) -> objc_id ---
|
||||
objc_msgSendSuper2 :: proc "c" (super: rawptr, op: objc_SEL, #c_vararg args: ..any) -> objc_id ---
|
||||
objc_msgSendSuper2_stret :: proc "c" (super: ^objc_super, op: objc_SEL, #c_vararg args: ..any) ---
|
||||
|
||||
|
||||
@@ -33,6 +33,8 @@ package all
|
||||
@(require) import "core:sys/darwin/CoreFoundation"
|
||||
@(require) import "core:sys/darwin/CoreGraphics"
|
||||
@(require) import "core:sys/darwin/Security"
|
||||
@(require) import "core:sys/darwin/CoreText"
|
||||
@(require) import "core:sys/darwin/CoreAudio"
|
||||
@(require) import "vendor:darwin/CoreVideo"
|
||||
@(require) import "vendor:darwin/Metal"
|
||||
@(require) import "vendor:darwin/MetalKit"
|
||||
|
||||
Reference in New Issue
Block a user