mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-06 09:56:26 +00:00
Added SDL_GetSandbox()
This adds support for detecting whether you're running in a sandbox on macOS
This commit is contained in:
@@ -1182,6 +1182,7 @@ SDL3_0.0.0 {
|
||||
SDL_SetErrorV;
|
||||
SDL_GetDefaultLogOutputFunction;
|
||||
SDL_RenderDebugText;
|
||||
SDL_GetSandbox;
|
||||
# extra symbols go here (don't modify this line)
|
||||
local: *;
|
||||
};
|
||||
|
@@ -1207,3 +1207,4 @@
|
||||
#define SDL_SetErrorV SDL_SetErrorV_REAL
|
||||
#define SDL_GetDefaultLogOutputFunction SDL_GetDefaultLogOutputFunction_REAL
|
||||
#define SDL_RenderDebugText SDL_RenderDebugText_REAL
|
||||
#define SDL_GetSandbox SDL_GetSandbox_REAL
|
||||
|
@@ -1213,3 +1213,4 @@ SDL_DYNAPI_PROC(Uint32,SDL_CalculateGPUTextureFormatSize,(SDL_GPUTextureFormat a
|
||||
SDL_DYNAPI_PROC(bool,SDL_SetErrorV,(SDL_PRINTF_FORMAT_STRING const char *a,va_list b),(a,b),return)
|
||||
SDL_DYNAPI_PROC(SDL_LogOutputFunction,SDL_GetDefaultLogOutputFunction,(void),(),return)
|
||||
SDL_DYNAPI_PROC(bool,SDL_RenderDebugText,(SDL_Renderer *a,float b,float c,const char *d),(a,b,c,d),return)
|
||||
SDL_DYNAPI_PROC(SDL_Sandbox,SDL_GetSandbox,(void),(),return)
|
||||
|
Reference in New Issue
Block a user