summaryrefslogtreecommitdiff
path: root/objc_darwin.h
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-03-05 20:09:15 -0500
committerPietro Gagliardi <[email protected]>2014-03-05 20:09:15 -0500
commitd29e1b8710ffe259ad7b532fb76056c52e2061ae (patch)
treeca2bd348094e603498a91dcacafe73e35c8867c1 /objc_darwin.h
parent011836e94de2b1ba2c9fc729649db63f715997f9 (diff)
Have ui.Go() return on main() return on Mac OS X.
Diffstat (limited to 'objc_darwin.h')
-rw-r--r--objc_darwin.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/objc_darwin.h b/objc_darwin.h
index e2d9d92..f73bc2b 100644
--- a/objc_darwin.h
+++ b/objc_darwin.h
@@ -89,6 +89,7 @@ m2(id_id, id, id)
extern id _objc_msgSend_rect_bool(id obj, SEL sel, int64_t x, int64_t y, int64_t w, int64_t h, BOOL b);
extern id objc_msgSend_id_int(id obj, SEL sel, id a, intptr_t b);
extern id objc_msgSend_id_uint(id obj, SEL sel, id a, uintptr_t b);
+m2(id_bool, id, BOOL)
m3(id_id_id, id, id, id)
m3(sel_id_bool, SEL, id, BOOL)
@@ -100,4 +101,7 @@ m4(id_id_id_id, id, id, id, id)
/* for listbox_darwin.go */
extern uintptr_t *NSIndexSetEntries(id, uintptr_t);
+/* for uitask_darwin.go */
+extern id makeDummyEvent();
+
#endif