Provided by: libsdl3-doc_3.2.20+ds-2_all bug

NAME

       SDL_HintCallback - A callback used to send notifications of hint value changes.

SYNOPSIS

       #include <SDL3/SDL_hints.h>

       typedef void(SDLCALL *SDL_HintCallback)(void *userdata, const char *name, const char *oldValue, const char *newValue);

DESCRIPTION

       This  is  called an initial time during SDL_AddHintCallback with the hint's current value, and then again
       each time the hint's value changes.

FUNCTION PARAMETERS

       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.

THREAD SAFETY

       This callback is fired from whatever thread is setting a new hint value. SDL holds a  lock  on  the  hint
       subsystem when calling this callback.

AVAILABILITY

       This datatype is available since SDL 3.2.0.

SEE ALSO

       SDL_AddHintCallback(3)

Simple Directmedia Layer                           SDL 3.2.20                            SDL_HintCallback(3type)