Make SDL.*Event procedures return booleans instead of an integer where appropriate

This commit is contained in:
gingerBill
2022-06-27 11:02:20 +01:00
parent abe122ecb7
commit 199dae6cd5
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -118,7 +118,7 @@ foreign lib {
GameControllerGetStringForAxis :: proc(axis: GameControllerAxis) -> cstring ---
GameControllerGetBindForAxis :: proc(gamecontroller: ^GameController, axis: GameControllerAxis) -> GameControllerButtonBind---
GameControllerHasAxis :: proc(gamecontroller: ^GameController, axis: GameControllerAxis) -> bool ---
GameControllerGetAxis :: proc(gamecontroller: ^GameController, axis: GameControllerAxis) -> i16 ---
GameControllerGetAxis :: proc(gamecontroller: ^GameController, axis: GameControllerAxis) -> i16 ---
GameControllerGetButtonFromString :: proc(str: cstring) -> GameControllerButton ---
GameControllerGetStringForButton :: proc(button: GameControllerButton) -> cstring ---