From 56eb64429d64a7948ce8c40e823710a9ece876ec Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 1 Mar 2014 17:01:28 -0500 Subject: Fixed most errors. Now I just need to add a sysData pool. --- objc_darwin.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'objc_darwin.h') diff --git a/objc_darwin.h b/objc_darwin.h index 173f238..1c960d5 100644 --- a/objc_darwin.h +++ b/objc_darwin.h @@ -10,12 +10,19 @@ Furthermore, Objective-C selectors work by basically sending the arguments to ob The format should be self-explanatory. */ +/* for some reason I now have to use an include guard after commit [master 9b4e30c] ("Started to build a single global delegate object; now to fix issues.") */ +#ifndef _OBJC_DARWIN_H_ +#define _OBJC_DARWIN_H_ + #include #include #include #include +/* for delegate_darwin.go */ +extern Class NilClass; + inline id objc_msgSend_noargs(id obj, SEL sel) { return objc_msgSend(obj, sel); @@ -77,3 +84,5 @@ m3(sel_id_bool, SEL, id, BOOL) extern id _objc_msgSend_rect_uint_uint_bool(id obj, SEL sel, int64_t x, int64_t y, int64_t w, int64_t h, uintptr_t b, uintptr_t c, BOOL d); m4(id_sel_id_id, id, SEL, id, id) + +#endif -- cgit v1.2.3