mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-14 15:11:25 -07:00
16 lines
421 B
Odin
16 lines
421 B
Odin
package objc_Foundation
|
|
|
|
@(objc_class="NSNotification")
|
|
Notification :: struct{using _: Object}
|
|
|
|
Notification_name :: proc(self: ^Notification) -> ^String {
|
|
return msgSend(^String, self, "name")
|
|
}
|
|
|
|
Notification_object :: proc(self: ^Notification) -> ^Object {
|
|
return msgSend(^Object, self, "object")
|
|
}
|
|
|
|
Notification_userInfo :: proc(self: ^Notification) -> ^Dictionary {
|
|
return msgSend(^Dictionary, self, "userInfo")
|
|
} |