summaryrefslogtreecommitdiff
path: root/Objective-C/libobjcl.m
diff options
context:
space:
mode:
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__