|
SDL_kitchensink
|
Error handling functions. More...
#include "kitchensink/kitconfig.h"Go to the source code of this file.
Functions | |
| KIT_API const char * | Kit_GetError () |
| Returns the latest error. This is set by SDL_kitchensink library functions on error. | |
| KIT_API void | Kit_SetError (const char *fmt,...) |
| Sets the error message. This should really only be used by the library. | |
| KIT_API void | Kit_ClearError () |
| Clears latest error message. After this, Kit_GetError() will return NULL. | |
Error handling functions.
| KIT_API void Kit_ClearError | ( | ) |
Clears latest error message. After this, Kit_GetError() will return NULL.
| KIT_API const char * Kit_GetError | ( | ) |
Returns the latest error. This is set by SDL_kitchensink library functions on error.
| KIT_API void Kit_SetError | ( | const char * | fmt, |
| ... | |||
| ) |
Sets the error message. This should really only be used by the library.
| fmt | Message format |
| ... | Message arguments |