mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-28 07:29:09 +00:00
Added SDL_ShouldInit() and SDL_ShouldQuit()
These are handy functions to support thread-safe initialization and shutdown.
This commit is contained in:
parent
0e2c4e407a
commit
125e592844
7 changed files with 178 additions and 52 deletions
|
@ -842,6 +842,7 @@
|
|||
#define SDL_SetHapticGain SDL_SetHapticGain_REAL
|
||||
#define SDL_SetHint SDL_SetHint_REAL
|
||||
#define SDL_SetHintWithPriority SDL_SetHintWithPriority_REAL
|
||||
#define SDL_SetInitialized SDL_SetInitialized_REAL
|
||||
#define SDL_SetJoystickEventsEnabled SDL_SetJoystickEventsEnabled_REAL
|
||||
#define SDL_SetJoystickLED SDL_SetJoystickLED_REAL
|
||||
#define SDL_SetJoystickPlayerIndex SDL_SetJoystickPlayerIndex_REAL
|
||||
|
@ -920,6 +921,8 @@
|
|||
#define SDL_SetX11EventHook SDL_SetX11EventHook_REAL
|
||||
#define SDL_SetiOSAnimationCallback SDL_SetiOSAnimationCallback_REAL
|
||||
#define SDL_SetiOSEventPump SDL_SetiOSEventPump_REAL
|
||||
#define SDL_ShouldInit SDL_ShouldInit_REAL
|
||||
#define SDL_ShouldQuit SDL_ShouldQuit_REAL
|
||||
#define SDL_ShowAndroidToast SDL_ShowAndroidToast_REAL
|
||||
#define SDL_ShowCursor SDL_ShowCursor_REAL
|
||||
#define SDL_ShowMessageBox SDL_ShowMessageBox_REAL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue