Function sdl2_sys::SDL_PollEvent

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

\brief Polls for currently pending events.

\return 1 if there are any pending events, or 0 if there are none available.

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