diff options
| author | Pietro Gagliardi <[email protected]> | 2015-12-12 13:07:57 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-12-12 13:07:57 -0500 |
| commit | a181d36b5848a826b904ac06c56f961cb88c5878 (patch) | |
| tree | 4e537041d6a8cd902e02dac217655cbc0c261fc3 /main.go | |
| parent | b6ccf2db405ed5af469d3b53d4506fe7ebb87b97 (diff) | |
Implemented some utility functions.
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -121,8 +121,5 @@ func doOnShouldQuit(unused unsafe.Pointer) C.int { if shouldQuitFunc == nil { return 0 } - if shouldQuitFunc() { - return 1 - } - return 0 + return frombool(shouldQuitFunc()) } |
