mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-07 08:08:50 +00:00
Use proc "c" calling convention in NS Foundation package
This commit is contained in:
+1
-1
@@ -4,6 +4,6 @@ package objc_Foundation
|
||||
SavePanel :: struct{ using _: Panel }
|
||||
|
||||
@(objc_type=SavePanel, objc_name="runModal")
|
||||
SavePanel_runModal :: proc(self: ^SavePanel) -> ModalResponse {
|
||||
SavePanel_runModal :: proc "c" (self: ^SavePanel) -> ModalResponse {
|
||||
return msgSend(ModalResponse, self, "runModal")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user