Minor aesthetic clean ups of Foundation

This commit is contained in:
gingerBill
2022-02-15 15:34:07 +00:00
parent 3ab5db8297
commit 803648be89
8 changed files with 7 additions and 21 deletions
+4 -1
View File
@@ -14,14 +14,17 @@ URL_init :: proc(self: ^URL) -> ^URL {
return msgSend(^URL, self, "init")
}
@(objc_type=URL, objc_name="initWithString")
URL_initWithString :: proc(self: ^URL, value: ^String) -> ^URL {
return msgSend(^URL, self, "initWithString:", value)
}
@(objc_type=URL, objc_name="initFileURLWithPath")
URL_initFileURLWithPath :: proc(self: ^URL, path: ^String) -> ^URL {
return msgSend(^URL, self, "initFileURLWithPath:", path)
}
@(objc_type=URL, objc_name="fileSystemRepresentation")
URL_fileSystemRepresentation :: proc(self: ^URL) -> ^String {
return msgSend(^String, self, "fileSystemRepresentation")
}