summaryrefslogtreecommitdiff
path: root/bleh_darwin.m
diff options
context:
space:
mode:
Diffstat (limited to 'bleh_darwin.m')
-rw-r--r--bleh_darwin.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/bleh_darwin.m b/bleh_darwin.m
index f21d55c..b537603 100644
--- a/bleh_darwin.m
+++ b/bleh_darwin.m
@@ -172,6 +172,11 @@ struct xsize objc_msgSend_stret_size_noargs(id obj, SEL sel)
return t;
}
+id objc_msgSend_size(id obj, SEL sel, int64_t width, int64_t height)
+{
+ return objc_msgSend(obj, sel, NSMakeSize((CGFloat) width, (CGFloat) height));
+}
+
/*
and again for NSPoint
*/