mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-13 01:21:38 -07:00
Add Application_stop
https://developer.apple.com/documentation/appkit/nsapplication/stop(_:)?language=objc
This commit is contained in:
@@ -132,6 +132,11 @@ Application_finishLaunching :: proc "c" (self: ^Application) {
|
||||
msgSend(nil, self, "finishLaunching")
|
||||
}
|
||||
|
||||
@(objc_type=Application, objc_name="stop")
|
||||
Application_stop :: proc "c" (self: ^Application, sender: ^Object) {
|
||||
msgSend(nil, self, "stop:", sender)
|
||||
}
|
||||
|
||||
@(objc_type=Application, objc_name="terminate")
|
||||
Application_terminate :: proc "c" (self: ^Application, sender: ^Object) {
|
||||
msgSend(nil, self, "terminate:", sender)
|
||||
|
||||
Reference in New Issue
Block a user