[][src]Function fermium::hints::SDL_AddHintCallback

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

Add a function to watch a particular hint

  • name The hint to watch
  • callback The function to call when the hint value changes
  • userdata A pointer to pass to the callback function