Add MetalKit; Add NSApplication NSMenu NSMenuItem; Improve Metal classes

This commit is contained in:
gingerBill
2022-04-14 15:03:47 +01:00
parent 600b79276a
commit 51db46551e
10 changed files with 637 additions and 16 deletions
+4 -1
View File
@@ -53,7 +53,10 @@ autorelease :: proc(self: ^Object) {
retainCount :: proc(self: ^Object) -> UInteger {
return msgSend(UInteger, self, "retainCount")
}
@(objc_type=Object, objc_name="class")
class :: proc(self: ^Object) -> Class {
return msgSend(Class, self, "class")
}
@(objc_type=Object, objc_name="hash")
hash :: proc(self: ^Object) -> UInteger {