mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +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")
|
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")
|
@(objc_type=Application, objc_name="terminate")
|
||||||
Application_terminate :: proc "c" (self: ^Application, sender: ^Object) {
|
Application_terminate :: proc "c" (self: ^Application, sender: ^Object) {
|
||||||
msgSend(nil, self, "terminate:", sender)
|
msgSend(nil, self, "terminate:", sender)
|
||||||
|
|||||||
Reference in New Issue
Block a user