summaryrefslogtreecommitdiff
path: root/objc_darwin.h
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-03-01 04:21:47 -0500
committerPietro Gagliardi <[email protected]>2014-03-01 04:21:47 -0500
commit3def6f6dacb9533d6b70b684b474dc38f305fb3f (patch)
tree3f190f418eae8bb96e9402e01ad5598324d6c66d /objc_darwin.h
parenta3b01892fdd13d37eff64d915319fb337a7bfe27 (diff)
Added objc_msgSend_stret_size_noargs(), needed by the Mac OS X sysData.preferredSize().
Diffstat (limited to 'objc_darwin.h')
-rw-r--r--objc_darwin.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/objc_darwin.h b/objc_darwin.h
index 171d260..242b605 100644
--- a/objc_darwin.h
+++ b/objc_darwin.h
@@ -21,6 +21,13 @@ inline id objc_msgSend_noargs(id obj, SEL sel)
return objc_msgSend(obj, sel);
}
+struct xsize {
+ int64_t width;
+ int64_t height;
+};
+
+extern struct xsize objc_msgsSend_stret_size_noargs(id obj, SEL sel);
+
#define m1(name, type1) \
inline id objc_msgSend_ ## name (id obj, SEL sel, type1 a) \
{ \