Function SDL_RemoveHintCallback

pub unsafe extern "C" fn SDL_RemoveHintCallback(
    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_sdl3 only.
Expand description

Remove a function watching a particular hint.

§Parameters

  • name: the hint being watched.
  • callback: an SDL_HintCallback function that will be called when the hint value changes.
  • userdata: a pointer being passed to the callback function.

§Thread safety

It is safe to call this function from any thread.

§Availability

This function is available since SDL 3.2.0.

§See also