mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-25 15:53:56 +00: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