28 #define SDL_ERRBUFIZE 1024
58 return error->
error ? error->
str :
"";
89 main(
int argc,
char *argv[])
#define SDL_LogGetPriority
const char * SDL_GetError(void)
Get the last error message that was set.
char * SDL_GetErrorMsg(char *errstr, int maxlen)
Get the last error message that was set for the current thread.
int SDL_Error(SDL_errorcode code)
int SDL_SetError(SDL_PRINTF_FORMAT_STRING const char *fmt,...)
Set the error message for the current thread.
void SDL_ClearError(void)
Clear the error message for the current thread.
SDL_error * SDL_GetErrBuf(void)
#define SDL_PRINTF_FORMAT_STRING