Change objc_class_name to objc_name with objc_is_class_method

This commit is contained in:
gingerBill committed 2022-02-14 17:31:55 +00:00
1 parent e69738c079
commit 03aec70287
18 files changed
+166 -172

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ Array :: struct {
using _: Copying(Array),
}
@(objc_type=Array, objc_class_name="alloc")
@(objc_type=Array, objc_name="alloc", objc_is_class_method=true)
Array_alloc :: proc() -> ^Array {
return msgSend(^Array, Array, "alloc")
}