mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Change objc_class_name to objc_name with objc_is_class_method
This commit is contained in:
@@ -59,7 +59,7 @@ MakeConstantString :: proc "c" (#const c: cstring) -> ^String {
|
||||
}
|
||||
|
||||
|
||||
@(objc_type=String, objc_class_name="alloc")
|
||||
@(objc_type=String, objc_name="alloc", objc_is_class_method=true)
|
||||
String_alloc :: proc() -> ^String {
|
||||
return msgSend(^String, String, "alloc")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user