Function sdl2_sys::SDL_AddEventWatch [] [src]

pub unsafe extern "C" fn SDL_AddEventWatch(
    filter: SDL_EventFilter,
    userdata: *mut c_void
)

Add a function which is called when an event is added to the queue.