SDL_RemoveHintCallback(3)
okay so bestie, welcome to the SDL3 FUNCTIONS manual page for SDL_RemoveHintCallback(3) π
this one's lowkey simple but highkey useful, fr fr.
β¨ NAME β¨
SDL_RemoveHintCallback β removes a function that was watching a particular hint π
πΈ SYNOPSIS πΈ
#include <SDL3/SDL_hints.h>
void SDL_RemoveHintCallback(const char *name,
SDL_HintCallback callback,
void *userdata);
π FUNCTION PARAMETERS π
nameβ the hint being watched, bestie. that specific one right there πcallbackβ anSDL_HintCallbackfunction that will be called when the hint value changes. yep, the whole reason we're here πuserdataβ a pointer being passed to the callback function. it just gets handed over, no questions asked π«Ά
π§΅ THREAD SAFETY π§΅
it is safe to call this function from any thread. no cap, go off π
π¦ AVAILABILITY π¦
this function is available since SDL 3.2.0 β¨ so if you're on that version or later, you're good to go, bestie.
π₯ SEE ALSO π₯
SDL_AddHintCallback(3)β if you wanna add a callback instead of removing one, that's the one, iykyk π
kisses and good vibes only, this page was served to you by Simple Directmedia Layer, version SDL 3.4.18 ππ«Άπ periodt.
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms