Use C99 bool internally in SDL

This commit is contained in:
Sam Lantinga
2024-08-22 09:21:26 -07:00
parent 6501e90018
commit 8f546bb3c9
450 changed files with 6046 additions and 6033 deletions

View File

@@ -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)