void SDL_DelHintCallback(const char *name, SDL_HintCallback callback, void *userdata)
Remove a function watching a particular hint.
void SDL_AddHintCallback(const char *name, SDL_HintCallback callback, void *userdata)
Add a function to watch a particular hint.
static SDL_Hint * SDL_hints
SDL_bool SDL_SetHintWithPriority(const char *name, const char *value, SDL_HintPriority priority)
Set a hint with a specific priority.
const char * SDL_GetHint(const char *name)
Get a hint.
SDL_HintPriority
An enumeration of hint priorities.
#define SDL_InvalidParamError(param)
static Uint32 callback(Uint32 interval, void *param)
SDL_HintWatch * callbacks
GLuint const GLchar * name
SDL_bool SDL_SetHint(const char *name, const char *value)
Set a hint with normal priority.
struct SDL_HintWatch * next
SDL_bool SDL_GetHintBoolean(const char *name, SDL_bool default_value)
Get a hint.
#define SDL_OutOfMemory()
SDL_HintCallback callback
void(* SDL_HintCallback)(void *userdata, const char *name, const char *oldValue, const char *newValue)
type definition of the hint callback function.
GLsizei const GLfloat * value
void SDL_ClearHints(void)
Clear all hints.
SDL_bool SDL_GetStringBoolean(const char *value, SDL_bool default_value)
SDL_HintPriority priority