DRAFT |
SDL_DelHintCallback
Use this function to remove a function watching a particular hint.
Contents
Syntax
void SDL_DelHintCallback(const char* name,
SDL_HintCallback callback,
void* userdata)
Function Parameters
name |
the hint being watched |
callback |
the function being called when the hint value changes |
userdata |
a pointer being passed to the callback function |
Code Examples
You can add your code example here
Remarks
The function prototype for callback is:
void SDL_HintCallback(void* userdata, const char* name, const char* oldValue, const char* newValue)
- where its parameters are:
userdata
what was passed as userdata to SDL_DelHintCallback()
name
what was passed as name to SDL_DelHintCallback()
oldValue
the old value
newValue
the new value
Version
This function is available since SDL 2.0.0.