Use proc "c" calling convention in NS Foundation package

This commit is contained in:
gingerBill committed 2023-05-22 14:59:24 +01:00
1 parent 730192adc4
commit 8f563df7c5
22 files changed
+348 -348

No files matched your search

+1 -1
View File
@@ -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")
}