[−][src]Function sdl2_sys::SDL_WaitEventTimeout
pub unsafe extern "C" fn SDL_WaitEventTimeout(
event: *mut SDL_Event,
timeout: c_int
) -> c_int
\brief Waits until the specified timeout (in milliseconds) 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. \param timeout The timeout (in milliseconds) to wait for next event.