Remove an event watch callback added with SDL_AddEventWatch().
Defined in SDL_events.h, but apps should only #include "SDL.h"
!
void SDL_DelEventWatch(SDL_EventFilter filter,
void *userdata);
filter | the function originally passed to SDL_AddEventWatch() |
userdata | the pointer originally passed to SDL_AddEventWatch() |
This function takes the same input as SDL_AddEventWatch() to identify and delete the corresponding callback.
This function is available since SDL 2.0.0.
CategoryAPI, CategoryAPIFunction