From ee655320c5060ec9283a598170756570e03a2543 Mon Sep 17 00:00:00 2001 From: Matthias Benkard Date: Sat, 15 Sep 2007 12:45:05 +0200 Subject: Add some support files from PyObjC. darcs-hash:9abac9aee8a4843a399d1c6472b32ff3bc3aa0ee --- Objective-C/libobjcl.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'Objective-C/libobjcl.h') diff --git a/Objective-C/libobjcl.h b/Objective-C/libobjcl.h index cb47440..5ca49f4 100644 --- a/Objective-C/libobjcl.h +++ b/Objective-C/libobjcl.h @@ -3,6 +3,14 @@ #import "Foundation/Foundation.h" #include +#ifdef USE_LIBFFI +#include +#else +#include +#include +#endif + + typedef struct objcl_object { char* type; @@ -42,6 +50,16 @@ objcl_invoke_method (OBJCL_OBJ_DATA receiver, int argc, ...); +void +objcl_invoke_with_types (void *receiver, + SEL method_selector, + char *(types[]), + size_t arg_sizes[], + id *exception, + void *return_value, + int argc, + ...); + OBJCL_OBJ_DATA objcl_find_class (const char *class_name); -- cgit v1.2.3