sys/darwin/foundation: fix Application->sendEvent signature

This commit is contained in:
Laytan Laats
2024-04-24 19:51:08 +02:00
parent 5b6c96cd18
commit a4cec2e8b8
@@ -132,7 +132,7 @@ Application_nextEventMatchingMask :: proc "c" (self: ^Application, mask: EventMa
@(objc_type=Application, objc_name="sendEvent") @(objc_type=Application, objc_name="sendEvent")
Application_sendEvent :: proc "c" (self: ^Application, event: ^Event) { Application_sendEvent :: proc "c" (self: ^Application, event: ^Event) {
msgSend(Event, self, "sendEvent:", event) msgSend(nil, self, "sendEvent:", event)
} }
@(objc_type=Application, objc_name="updateWindows") @(objc_type=Application, objc_name="updateWindows")
Application_updateWindows :: proc "c" (self: ^Application) { Application_updateWindows :: proc "c" (self: ^Application) {