Function sdl2_sys::SDL_AddHintCallback

source ยท
pub unsafe extern "C" fn SDL_AddHintCallback(
    name: *const c_char,
    callback: SDL_HintCallback,
    userdata: *mut c_void,
)
Expand description

Add a function to watch a particular hint.

\param name the hint to watch \param callback An SDL_HintCallback function that will be called when the hint value changes \param userdata a pointer to pass to the callback function

\since This function is available since SDL 2.0.0.

\sa SDL_DelHintCallback