114 extern DECLSPEC
char * SDLCALL
SDL_GetErrorMsg(
char *errstr,
int maxlen);
131 #define SDL_OutOfMemory() SDL_Error(SDL_ENOMEM) 132 #define SDL_Unsupported() SDL_Error(SDL_UNSUPPORTED) 133 #define SDL_InvalidParamError(param) SDL_SetError("Parameter '%s' is invalid", (param)) 144 extern DECLSPEC
int SDLCALL
SDL_Error(SDL_errorcode code);
int SDL_SetError(SDL_PRINTF_FORMAT_STRING const char *fmt,...) SDL_PRINTF_VARARG_FUNC(1)
void SDL_ClearError(void)
const char * SDL_GetError(void)
char * SDL_GetErrorMsg(char *errstr, int maxlen)
#define SDL_PRINTF_FORMAT_STRING
int SDL_Error(SDL_errorcode code)
#define SDL_PRINTF_VARARG_FUNC(fmtargnumber)