Use stdbool
This commit is contained in:
parent
8db71e7851
commit
8d36ebe392
10 changed files with 42 additions and 40 deletions
|
@ -16,7 +16,7 @@ func SetGesturesEnabled(gestureFlags uint32) {
|
|||
func IsGestureDetected(gesture Gestures) bool {
|
||||
cgesture := (C.int)(gesture)
|
||||
ret := C.IsGestureDetected(cgesture)
|
||||
v := bool(int(ret) == 1)
|
||||
v := bool(ret)
|
||||
return v
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue