From 585f55e70e44cccb0807c2bc2d1f0904c8fbc5e1 Mon Sep 17 00:00:00 2001 From: Matthias Benkard Date: Sat, 15 Sep 2007 15:33:46 +0200 Subject: Add libffi support code from PyObjC. darcs-hash:0cb8e75aa1ea694562f5087aa400840349adcac8 --- Objective-C/libobjcl.m | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Objective-C/libobjcl.m') 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__ -- cgit v1.2.3