Function fermium::hints::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
name
The hint to watchcallback
The function to call when the hint value changesuserdata
A pointer to pass to the callback function