summaryrefslogtreecommitdiff
path: root/objc_darwin.h
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-03-01 13:58:38 -0500
committerPietro Gagliardi <[email protected]>2014-03-01 13:58:38 -0500
commit00243442d2ed438e1e581b00aae369a2eb9836d9 (patch)
tree8b5bd359bed91685764b330db9314f3fdeb5f6da /objc_darwin.h
parent0770c2a6973e94b64e2a0cb8327f76acd23af799 (diff)
Fixed Mac OS X sysData.setWindowSize() to get the window origin. Now to fix the rest of the errors...
Diffstat (limited to 'objc_darwin.h')
-rw-r--r--objc_darwin.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/objc_darwin.h b/objc_darwin.h
index e73687e..173f238 100644
--- a/objc_darwin.h
+++ b/objc_darwin.h
@@ -21,6 +21,15 @@ inline id objc_msgSend_noargs(id obj, SEL sel)
return objc_msgSend(obj, sel);
}
+struct xrect {
+ int64_t x;
+ int64_t y;
+ int64_t width;
+ int64_t height;
+};
+
+extern struct xrect objc_msgSend_stret_rect_noargs(id obj, SEL sel);
+
struct xsize {
int64_t width;
int64_t height;