Function sdl2_sys::SDL_PushEvent

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

\brief Add an event to the event queue.

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