Function fermium::events::SDL_PushEvent

source ·
pub unsafe extern "C" fn SDL_PushEvent(event: *mut SDL_Event) -> c_int
Expand description

Add an event to the event queue.

Returns: 1 on success, 0 if the event was filtered, or -1 if the event queue was full or there was some other error.