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
@@ -4,7 +4,7 @@ package objc_Foundation
|
||||
URL :: struct{using _: Copying(URL)}
|
||||
|
||||
|
||||
@(objc_type=URL, objc_class_name="alloc")
|
||||
@(objc_type=URL, objc_name="alloc", objc_is_class_method=true)
|
||||
URL_alloc :: proc() -> ^URL {
|
||||
return msgSend(^URL, URL, "alloc")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user