SDL_RemoveHintCallback - Man Page

Remove a function watching a particular hint.

Header File

Defined in SDL3/SDL_hints.h

Synopsis

#include "SDL3/SDL.h"

void SDL_RemoveHintCallback(const char *name,
                         SDL_HintCallback callback,
                         void *userdata);

Function Parameters

name

the hint being watched.

callback

an SDL_HintCallback
function that will be called when the hint value changes.

userdata

a pointer being passed to the callback function.

Thread Safety

It is safe to call this function from any thread.

Availability

This function is available since SDL 3.2.0.

See Also

·(3), SDL_AddHintCallback(3)

Referenced By

SDL_AddHintCallback(3).

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS