summaryrefslogtreecommitdiff
path: root/Objective-C/libobjcl.m
diff options
context:
space:
mode:
authorMatthias Benkard <code@mail.matthias.benkard.de>2007-09-15 15:33:46 +0200
committerMatthias Benkard <code@mail.matthias.benkard.de>2007-09-15 15:33:46 +0200
commit585f55e70e44cccb0807c2bc2d1f0904c8fbc5e1 (patch)
treea94bec4ba2b3a0e298c5619d656cdd013aa2f93d /Objective-C/libobjcl.m
parentd0dd29fcf87b51280dd5c2685063ea42cf4fc115 (diff)
Add libffi support code from PyObjC.
darcs-hash:0cb8e75aa1ea694562f5087aa400840349adcac8
Diffstat (limited to 'Objective-C/libobjcl.m')
-rw-r--r--Objective-C/libobjcl.m6
1 files changed, 4 insertions, 2 deletions
diff --git a/Objective-C/libobjcl.m b/Objective-C/libobjcl.m
index bd1e410..3bcdf4b 100644
--- a/Objective-C/libobjcl.m
+++ b/Objective-C/libobjcl.m
@@ -260,8 +260,7 @@ objcl_invoke_method (OBJCL_OBJ_DATA receiver,
void
objcl_invoke_with_types (void *receiver,
SEL method_selector,
- char *(types[]),
- size_t arg_sizes[],
+ char *types[],
id *exception,
void *return_value,
int argc,
@@ -271,6 +270,9 @@ objcl_invoke_with_types (void *receiver,
IMP method;
int i;
+ char *return_type = types[0];
+ char **arg_types = types + 1;
+
*exception = NULL;
#ifdef __NEXT_RUNTIME__