diff options
| author | Pietro Gagliardi <[email protected]> | 2014-03-01 17:01:28 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-03-01 17:01:28 -0500 |
| commit | 56eb64429d64a7948ce8c40e823710a9ece876ec (patch) | |
| tree | 123ce47499151dd81065bf61871c395db2c589e5 /bleh_darwin.m | |
| parent | 9b4e30ccf9b1a1dc6367b0e6950fdd74cde88922 (diff) | |
Fixed most errors. Now I just need to add a sysData pool.
Diffstat (limited to 'bleh_darwin.m')
| -rw-r--r-- | bleh_darwin.m | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bleh_darwin.m b/bleh_darwin.m index f513d4f..04f8930 100644 --- a/bleh_darwin.m +++ b/bleh_darwin.m @@ -15,6 +15,9 @@ Go wrapper functions (bleh_darwin.go) call these directly and take care of stdin #include <Foundation/NSGeometry.h> +/* exception to the above: cgo doesn't like Nil and delegate_darwin.go has //export so I can't have this there */ +Class NilClass = Nil; + /* NSUInteger is listed as being in <objc/NSObjCRuntime.h>... which doesn't exist. Rather than relying on undocumented header file locations or explicitly typedef-ing NSUInteger to the (documented) unsigned long, I'll just place things here for maximum safety. I use uintptr_t as that should encompass every possible unsigned long. */ |
