Function fermium::events::SDL_WaitEvent

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

Waits indefinitely for the next available event.

Returns: 1, or 0 if there was an error while waiting for events.

  • event If not NULL, the next event is removed from the queue and stored in that area.