SDL_RemoveEventWatch - Man Page
Remove an event watch callback added with SDL_AddEventWatch ().
Header File
Defined in SDL3/SDL_events.h
Synopsis
#include "SDL3/SDL.h" void SDL_RemoveEventWatch(SDL_EventFilter filter, void *userdata);
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 ().
Thread Safety
It is safe to call this function from any thread.
Availability
This function is available since SDL 3.2.0.
See Also
·(3), SDL_AddEventWatch(3)
Referenced By
SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS