diff options
Diffstat (limited to 'redo/common_darwin.go')
| -rw-r--r-- | redo/common_darwin.go | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/redo/common_darwin.go b/redo/common_darwin.go new file mode 100644 index 0000000..0c49a58 --- /dev/null +++ b/redo/common_darwin.go @@ -0,0 +1,13 @@ +// 20 july 2014 + +package ui + +// #include "objc_darwin.h" +import "C" + +func toBOOL(b bool) C.BOOL { + if b == true { + return C.YES + } + return C.NO +} |
