mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Correct types in methods
This commit is contained in:
@@ -8,7 +8,7 @@ foreign import "system:Metal.framework"
|
||||
@(default_calling_convention="c", link_prefix="MTL")
|
||||
foreign Metal {
|
||||
CopyAllDevices :: proc() -> ^NS.Array ---
|
||||
CopyAllDevicesWithObserver :: proc(observer: ^^NS.Object, handler: DeviceNotificationHandler) -> ^NS.Array ---
|
||||
CreateSystemDefaultDevice :: proc() -> ^NS.Object ---
|
||||
RemoveDeviceObserver :: proc(observer: ^NS.Object) ---
|
||||
CopyAllDevicesWithObserver :: proc(observer: ^id, handler: DeviceNotificationHandler) -> ^NS.Array ---
|
||||
CreateSystemDefaultDevice :: proc() -> ^Device ---
|
||||
RemoveDeviceObserver :: proc(observer: id) ---
|
||||
}
|
||||
Reference in New Issue
Block a user