52 #define SDL_OutOfMemory() SDL_Error(SDL_ENOMEM) 53 #define SDL_Unsupported() SDL_Error(SDL_UNSUPPORTED) 54 #define SDL_InvalidParamError(param) SDL_SetError("Parameter '%s' is invalid", (param))
DECLSPEC const char *SDLCALL SDL_GetError(void)
DECLSPEC int SDLCALL SDL_Error(SDL_errorcode code)
DECLSPEC void SDLCALL SDL_ClearError(void)
#define SDL_PRINTF_FORMAT_STRING
DECLSPEC int SDLCALL SDL_SetError(SDL_PRINTF_FORMAT_STRING const char *fmt,...) SDL_PRINTF_VARARG_FUNC(1)
#define SDL_PRINTF_VARARG_FUNC(fmtargnumber)