add missing function definitions
1 files changed, 10 insertions(+), 0 deletions(-)

M util.h
M util.h +10 -0
@@ 19,6 19,7 @@ 
 #include "backend.h"
 #import <Foundation/NSAutoreleasePool.h>
 #import "OC_NSAutoreleasePoolCollector.h"
+#include <ffi/ffi.h>
 
 #if (PIKE_MAJOR_VERSION == 7 && PIKE_MINOR_VERSION == 1 && PIKE_BUILD_VERSION >= 12) || PIKE_MAJOR_VERSION > 7 || (PIKE_MAJOR_VERSION == 7 && PIKE_MINOR_VERSION > 1)
 # include "pike_error.h"

          
@@ 62,3 63,12 @@ void push_complex_result(void * result, 
 void make_complex_object(void * result, int len, char * signature);
 void push_complex_result(void * result, int len, char * signature);
 void make_complex_object(void * result, int len, char * signature);
+int push_objc_pointer_return_type(struct objc_method * method, void ** margs);
+void * svalue_to_ptr(struct svalue * sval, char * type);
+BOOL isNSNil(struct svalue * sv);
+int push_objc_types(NSMethodSignature* sig, NSInvocation* invocation);
+struct svalue * get_class_func_by_selector(struct program * prog, SEL aSelector);
+BOOL has_objc_class_method(id obj, SEL aSelector);
+char * get_signature_for_class_func(struct svalue * func, SEL selector, struct program * prog);
+BOOL has_objc_method(id obj, SEL aSelector);
+int push_objc_type(char * type, void * buf);