Use C99 bool internally in SDL

This commit is contained in:
Sam Lantinga committed 2024-08-22 13:30:02 -07:00
1 parent 6501e90018
commit 8f546bb3c9
450 files changed
+6046 -6033

No files matched your search

+4 -4
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)