Function SDL_AddHintCallback
pub unsafe extern "C" fn SDL_AddHintCallback(
name: *const i8,
callback: Option<unsafe extern "C" fn(_: *mut c_void, _: *const i8, _: *const i8, _: *const i8)>,
userdata: *mut c_void,
)
Available on crate feature
dep_sdl2
only.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