mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-08-27 00:51:34 +00:00
Use C99 bool internally in SDL
This commit is contained in:
@@ -138,9 +138,9 @@ int SDL_SYS_HapticMouse(void)
|
||||
return -1;
|
||||
}
|
||||
|
||||
SDL_bool SDL_SYS_JoystickIsHaptic(SDL_Joystick *joystick)
|
||||
bool SDL_SYS_JoystickIsHaptic(SDL_Joystick *joystick)
|
||||
{
|
||||
return SDL_FALSE;
|
||||
return false;
|
||||
}
|
||||
|
||||
int SDL_SYS_HapticOpenFromJoystick(SDL_Haptic *haptic, SDL_Joystick *joystick)
|
||||
@@ -148,9 +148,9 @@ int SDL_SYS_HapticOpenFromJoystick(SDL_Haptic *haptic, SDL_Joystick *joystick)
|
||||
return SDL_Unsupported();
|
||||
}
|
||||
|
||||
SDL_bool SDL_SYS_JoystickSameHaptic(SDL_Haptic *haptic, SDL_Joystick *joystick)
|
||||
bool SDL_SYS_JoystickSameHaptic(SDL_Haptic *haptic, SDL_Joystick *joystick)
|
||||
{
|
||||
return SDL_FALSE;
|
||||
return false;
|
||||
}
|
||||
|
||||
void SDL_SYS_HapticClose(SDL_Haptic *haptic)
|
||||
|
||||
Reference in New Issue
Block a user