[][src]Function fermium::events::SDL_PollEvent

pub unsafe extern "C" fn SDL_PollEvent(event: *mut SDL_Event) -> c_int

Polls for currently pending events.

Returns: 1 if there are any pending events, or 0 if there are none available.

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