[−][src]Function sdl2_sys::SDL_WaitEvent
pub unsafe extern "C" fn SDL_WaitEvent(event: *mut SDL_Event) -> c_int
\brief Waits indefinitely for the next available event.
\return 1, or 0 if there was an error while waiting for events.
\param event If not NULL, the next event is removed from the queue and stored in that area.