SDL_kitchensink
Toggle main menu visibility
Loading...
Searching...
No Matches
include
kitchensink
kiterror.h
Go to the documentation of this file.
1
#ifndef KITERROR_H
2
#define KITERROR_H
3
11
12
#include "
kitchensink/kitconfig.h
"
13
14
#ifdef __cplusplus
15
extern
"C"
{
16
#endif
17
23
KIT_API
const
char
*
Kit_GetError
();
24
31
KIT_API
void
Kit_SetError
(
const
char
* fmt, ...);
32
36
KIT_API
void
Kit_ClearError
();
37
38
#ifdef __cplusplus
39
}
40
#endif
41
42
#endif
// KITERROR_H
kitconfig.h
Public API configurations.
KIT_API
#define KIT_API
Definition
kitconfig.h:30
Kit_SetError
KIT_API void Kit_SetError(const char *fmt,...)
Sets the error message. This should really only be used by the library.
Kit_GetError
KIT_API const char * Kit_GetError()
Returns the latest error. This is set by SDL_kitchensink library functions on error.
Kit_ClearError
KIT_API void Kit_ClearError()
Clears latest error message. After this, Kit_GetError() will return NULL.
Generated by
1.18.0