pub unsafe extern "C" fn SDL_RemoveEventWatch(
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.
Parameter: filter the function originally passed to SDL_AddEventWatch(). Parameter: userdata the pointer originally passed to SDL_AddEventWatch().
Thread Safety: It is safe to call this function from any thread.
Available Since: This function is available since SDL 3.2.0.
See Also: SDL_AddEventWatch