Function sdl2_sys::SDL_HasEvents

source ·
pub unsafe extern "C" fn SDL_HasEvents(
    minType: Uint32,
    maxType: Uint32
) -> SDL_bool
Expand description

Check for the existence of certain event types in the event queue.

If you need to check for a single event type, use SDL_HasEvent() instead.

\param minType the low end of event type to be queried, inclusive; see SDL_EventType for details \param maxType the high end of event type to be queried, inclusive; see SDL_EventType for details \returns SDL_TRUE if events with type >= minType and <= maxType are present, or SDL_FALSE if not.

\since This function is available since SDL 2.0.0.

\sa SDL_HasEvents