Add more NS bindings and correctly link NS block

This commit is contained in:
Lucas Perlind
2023-08-30 10:18:17 +10:00
parent 29f7eaad78
commit 46e7fa52b3
3 changed files with 20 additions and 4 deletions
+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")