|
World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
|
Функции | |
| DECLSPEC int SDLCALL | SDL_SetError (SDL_PRINTF_FORMAT_STRING const char *fmt,...) SDL_PRINTF_VARARG_FUNC(1) |
| const DECLSPEC char *SDLCALL | SDL_GetError (void) |
| DECLSPEC void SDLCALL | SDL_ClearError (void) |
Internal error functions | |
|
Private error reporting function - used internally. | |
| enum | SDL_errorcode { SDL_ENOMEM, SDL_EFREAD, SDL_EFWRITE, SDL_EFSEEK, SDL_UNSUPPORTED, SDL_LASTERROR } |
| DECLSPEC int SDLCALL | SDL_Error (SDL_errorcode code) |
Simple error message routines for SDL.
См. определение в файле SDL_error.h
| enum SDL_errorcode |
| Элементы перечислений | |
|---|---|
| SDL_ENOMEM | |
| SDL_EFREAD | |
| SDL_EFWRITE | |
| SDL_EFSEEK | |
| SDL_UNSUPPORTED | |
| SDL_LASTERROR | |
См. определение в файле SDL_error.h строка 55
| DECLSPEC int SDLCALL SDL_SetError | ( | SDL_PRINTF_FORMAT_STRING const char * | fmt, |
| ... | |||
| ) |
| const DECLSPEC char* SDLCALL SDL_GetError | ( | void | ) |
| DECLSPEC int SDLCALL SDL_Error | ( | SDL_errorcode | code | ) |