From 338cbc0540c810dec2b32bae39f7d367b2d73396 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 5 Apr 2014 12:39:27 -0400 Subject: Removed NilClass from the shared Mac OS X files (objc_darwin.h and bleh_darwin.m) as the //export issue that required that no longer applies. --- objc_darwin.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'objc_darwin.go') diff --git a/objc_darwin.go b/objc_darwin.go index 70406f5..d7e8f7a 100644 --- a/objc_darwin.go +++ b/objc_darwin.go @@ -10,6 +10,8 @@ import ( // #cgo LDFLAGS: -lobjc -framework Foundation // #include // #include "objc_darwin.h" +// /* cgo doesn't like Nil */ +// Class NilClass = Nil; import "C" func objc_getClass(class string) C.id { -- cgit v1.2.3