SDL_RemoveEventWatch - Remove an event watch callback added with SDL_AddEventWatch().
Contents
Availability
This function is available since SDL 3.2.0.
Description
This function takes the same input as SDL_AddEventWatch() to identify and delete the corresponding
callback.
Function Parameters
filter the function originally passed to SDL_AddEventWatch().
userdata
the pointer originally passed to SDL_AddEventWatch().
Name
SDL_RemoveEventWatch - Remove an event watch callback added with SDL_AddEventWatch().
See Also
SDL_AddEventWatch(3) Simple Directmedia Layer SDL 3.2.20 SDL_RemoveEventWatch(3)
Synopsis
#include<SDL3/SDL_events.h>voidSDL_RemoveEventWatch(SDL_EventFilterfilter,void*userdata);
Thread Safety
It is safe to call this function from any thread.
