// FilterEvents (https://wiki.libsdl.org/SDL_FilterEvents) func FilterEvents(filter EventFilter) { context := &eventFilterCallbackContext{filter} C.filterEvents(context.cptr()) }
// FilterEvents (https://wiki.libsdl.org/SDL_FilterEvents) func FilterEvents(filter EventFilter, userdata interface{}) { context := newEventFilterCallbackContext(filter, userdata) C.filterEvents(context.cptr()) }