Function SDL_DelEventWatch

pub unsafe extern "C" fn SDL_DelEventWatch(
    filter: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut SDL_Event) -> i32>,
    userdata: *mut c_void,
)
Available on crate feature dep_sdl2 only.
Expand description

Remove an event watch callback added with SDL_AddEventWatch().

This function takes the same input as SDL_AddEventWatch() to identify and delete the corresponding callback.

\param filter the function originally passed to SDL_AddEventWatch() \param userdata the pointer originally passed to SDL_AddEventWatch()

\since This function is available since SDL 2.0.0.

\sa SDL_AddEventWatch