events: Changed SDL_GetEventState from a macro to a function.

Fixes #6773.
This commit is contained in:
Ryan C. Gordon
2022-12-08 00:08:51 -05:00
parent 9a6bcca6b8
commit 7ca0d15d64
6 changed files with 31 additions and 4 deletions

View File

@@ -864,6 +864,7 @@ SDL3_0.0.0 {
SDL_GetPowerInfo;
SDL_GetTicksNS;
SDL_DelayNS;
SDL_GetEventState;
# extra symbols go here (don't modify this line)
local: *;
};

View File

@@ -888,3 +888,4 @@
#define SDL_memset4 SDL_memset4_REAL
#define SDL_GetTicksNS SDL_GetTicksNS_REAL
#define SDL_DelayNS SDL_DelayNS_REAL
#define SDL_GetEventState SDL_GetEventState_REAL

View File

@@ -964,3 +964,4 @@ SDL_DYNAPI_PROC(int,SDL_GetWindowWMInfo,(SDL_Window *a, SDL_SysWMinfo *b, Uint32
SDL_DYNAPI_PROC(void*,SDL_memset4,(void *a, Uint32 b, size_t c),(a,b,c),return)
SDL_DYNAPI_PROC(Uint64,SDL_GetTicksNS,(void),(),return)
SDL_DYNAPI_PROC(void,SDL_DelayNS,(Uint64 a),(a),)
SDL_DYNAPI_PROC(Uint8,SDL_GetEventState,(Uint32 a),(a),return)