DRAFT |
SDL_DelEventWatch
Use this function to remove an event watch function added with SDL_AddEventWatch().
Syntax
void SDL_DelEventWatch(SDL_EventFilter filter,
void* userdata)
Function Parameters
filter |
the function to stop calling; see Remarks for details |
userdata |
a pointer to the event queue to stop watching |
Code Examples
You can add your code example here
Remarks
The function prototype for filter is:
int YourEventFilter(void* userdata,
SDL_Event* event)
where YourEventFilter is the name of your function, userdata is is what was passed as userdata to SDL_DelEventWatch() and event is the event that triggered the callback.
