mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-07 08:08:50 +00:00
Move Objective-C libraries located in core:sys/darwin/* to vendor:darwin/*
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
package objc_Metal
|
||||
|
||||
import NS "core:sys/darwin/Foundation"
|
||||
|
||||
@(require)
|
||||
foreign import "system:Metal.framework"
|
||||
|
||||
@(default_calling_convention="c", link_prefix="MTL")
|
||||
foreign Metal {
|
||||
CopyAllDevices :: proc() -> ^NS.Array ---
|
||||
CopyAllDevicesWithObserver :: proc(observer: ^id, handler: DeviceNotificationHandler) -> ^NS.Array ---
|
||||
CreateSystemDefaultDevice :: proc() -> ^Device ---
|
||||
RemoveDeviceObserver :: proc(observer: id) ---
|
||||
}
|
||||
Reference in New Issue
Block a user