sdlGetSandbox function system

int sdlGetSandbox()

Get the application sandbox environment, if any.

\returns the application sandbox environment or SDL_SANDBOX_NONE if the application is not running in a sandbox environment.

\since This function is available since SDL 3.2.0.

extern SDL_DECLSPEC SDL_Sandbox SDLCALL SDL_GetSandbox(void)

Implementation

int sdlGetSandbox() {
  final sdlGetSandboxLookupFunction = _libSdl
      .lookupFunction<Int32 Function(), int Function()>('SDL_GetSandbox');
  return sdlGetSandboxLookupFunction();
}