Change objc_class_name to objc_name with objc_is_class_method
This commit is contained in:
1 parent
e69738c079
commit
03aec70287
18 files changed
+166
-172
No files matched your search
@@ -13,7 +13,7 @@ Locking_unlock :: proc(self: ^Locking($T)) {
|
||||
Condition :: struct {using _: Locking(Condition) }
|
||||
|
||||
|
||||
@(objc_type=Condition, objc_class_name="alloc")
|
||||
@(objc_type=Condition, objc_name="alloc", objc_is_class_method=true)
|
||||
Condition_alloc :: proc() -> ^Condition {
|
||||
return msgSend(^Condition, Condition, "alloc")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user