Correct CaptureScope

This commit is contained in:
gingerBill
2022-02-14 14:26:35 +00:00
parent bef806bef4
commit f9fc488399
+4 -4
View File
@@ -5552,12 +5552,12 @@ CaptureScope_beginScope :: #force_inline proc(self: ^CaptureScope) {
msgSend(nil, self, "beginScope") msgSend(nil, self, "beginScope")
} }
@(objc_type=CaptureScope, objc_name="commandQueue") @(objc_type=CaptureScope, objc_name="commandQueue")
CaptureScope_commandQueue :: #force_inline proc(self: ^CaptureScope) -> ^CaptureScope { CaptureScope_commandQueue :: #force_inline proc(self: ^CaptureScope) -> ^CommandQueue {
return msgSend(^CaptureScope, self, "commandQueue") return msgSend(^CommandQueue, self, "commandQueue")
} }
@(objc_type=CaptureScope, objc_name="device") @(objc_type=CaptureScope, objc_name="device")
CaptureScope_device :: #force_inline proc(self: ^CaptureScope) -> ^CaptureScope { CaptureScope_device :: #force_inline proc(self: ^CaptureScope) -> ^Device {
return msgSend(^CaptureScope, self, "device") return msgSend(^Device, self, "device")
} }
@(objc_type=CaptureScope, objc_name="endScope") @(objc_type=CaptureScope, objc_name="endScope")
CaptureScope_endScope :: #force_inline proc(self: ^CaptureScope) { CaptureScope_endScope :: #force_inline proc(self: ^CaptureScope) {