Type definition of the hint callback function.
Defined in <SDL3/SDL_hints.h>
typedef void (SDLCALL *SDL_HintCallback)(void *userdata, const char *name, const char *oldValue, const char *newValue);
userdata | what was passed as userdata to SDL_AddHintCallback(). |
name | what was passed as name to SDL_AddHintCallback(). |
oldValue | the previous hint value. |
newValue | the new value hint is to be set to. |
This datatype is available since SDL 3.0.0.