Function sdl2_sys::SDL_DelEventWatch

source ยท
pub unsafe extern "C" fn SDL_DelEventWatch(
    filter: SDL_EventFilter,
    userdata: *mut c_void,
)
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