|
SDL
2.0
|
Include dependency graph for SDL_error.c:Go to the source code of this file.
Macros | |
| #define | SDL_ERRBUFIZE 1024 |
Functions | |
| SDL_error * | SDL_GetErrBuf (void) |
| static const char * | SDL_LookupString (const char *key) |
| int | SDL_SetError (SDL_PRINTF_FORMAT_STRING const char *fmt,...) |
| static char * | SDL_GetErrorMsg (char *errstr, int maxlen) |
| const char * | SDL_GetError (void) |
| void | SDL_ClearError (void) |
| int | SDL_Error (SDL_errorcode code) |
| #define SDL_ERRBUFIZE 1024 |
Definition at line 39 of file SDL_error.c.
Referenced by SDL_GetError().
Definition at line 230 of file SDL_error.c.
References SDL_error::error, and SDL_GetErrBuf().
Referenced by SDL_Error().
| int SDL_Error | ( | SDL_errorcode | code | ) |
Definition at line 240 of file SDL_error.c.
References main, SDL_ClearError(), SDL_EFREAD, SDL_EFSEEK, SDL_EFWRITE, SDL_ENOMEM, SDL_GetError(), SDL_memset, SDL_SetError(), and SDL_UNSUPPORTED.
Definition at line 205 of file SDL_thread.c.
Referenced by SDL_ClearError(), SDL_GetErrorMsg(), and SDL_SetError().
| const char* SDL_GetError | ( | void | ) |
Definition at line 222 of file SDL_error.c.
References SDL_ERRBUFIZE, and SDL_GetErrorMsg().
Referenced by SDL_Error(), and SDL_SetError().
|
static |
Definition at line 123 of file SDL_error.c.
References SDL_error::args, SDL_error::error, SDL_error::key, SDL_arraysize, SDL_GetErrBuf(), SDL_LookupString(), SDL_snprintf, SDL_error::value_f, SDL_error::value_i, and SDL_error::value_ptr.
Referenced by SDL_GetError().
|
static |
Definition at line 44 of file SDL_error.c.
Referenced by SDL_GetErrorMsg().
| int SDL_SetError | ( | SDL_PRINTF_FORMAT_STRING const char * | fmt, |
| ... | |||
| ) |
Definition at line 53 of file SDL_error.c.
References SDL_error::argc, SDL_error::args, SDL_error::buf, ERR_MAX_ARGS, ERR_MAX_STRLEN, SDL_error::error, i, SDL_error::key, NULL, SDL_GetErrBuf(), SDL_GetError(), SDL_LOG_CATEGORY_ERROR, SDL_LogDebug, SDL_strlcpy, SDL_error::value_f, SDL_error::value_i, and SDL_error::value_ptr.
Referenced by SDL_Error().