summaryrefslogtreecommitdiff
path: root/bleh_darwin.m
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-03-02 18:38:45 -0500
committerPietro Gagliardi <[email protected]>2014-03-02 18:38:45 -0500
commit4bc35e2db57476c5faf40e971e5f91e497ac3f0a (patch)
tree563511157770c59f70b1499a3888418f7c657546 /bleh_darwin.m
parente20b4684729f6278bfb7fe60c68f2b80626fe062 (diff)
Finished the implementation of Combobox on Mac OS X.
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 1b58e77..c975051 100644
--- a/bleh_darwin.m
+++ b/bleh_darwin.m
@@ -31,6 +31,11 @@ id _objc_msgSend_uint(id obj, SEL sel, uintptr_t a)
same as above, but for NSInteger
*/
+intptr_t objc_msgSend_intret_noargs(id obj, SEL sel)
+{
+ return (intptr_t) ((NSInteger) objc_msgSend(obj, sel));
+}
+
id objc_msgSend_int(id obj, SEL sel, intptr_t a)
{
return objc_msgSend(obj, sel, (NSInteger) a);