Move Objective-C libraries located in core:sys/darwin/* to vendor:darwin/*

This commit is contained in:
gingerBill
2022-02-16 00:06:25 +00:00
parent 855e7beab1
commit a3bcacee27
24 changed files with 0 additions and 0 deletions
+14
View File
@@ -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) ---
}