Add more NS bindings and correctly link NS block

This commit is contained in:
Lucas Perlind committed 2023-08-30 10:18:17 +10:00
1 parent 29f7eaad78
commit 46e7fa52b3
3 files changed
+20 -4

No files matched your search

+4
View File
@@ -123,6 +123,10 @@ Application_nextEventMatchingMask :: proc "c" (self: ^Application, mask: EventMa
Application_sendEvent :: proc "c" (self: ^Application, event: ^Event) {
msgSend(Event, self, "sendEvent:", event)
}
@(objc_type=Application, objc_name="updateWindows")
Application_updateWindows :: proc "c" (self: ^Application) {
msgSend(nil, self, "updateWindows")
}
@(objc_class="NSRunningApplication")