al_flush_event_queue man page

al_flush_event_queue — Allegro 5 API

Synopsis

#include <allegro5/allegro.h>

void al_flush_event_queue(ALLEGRO_EVENT_QUEUE *queue)

Description

Drops all events, if any, from the queue.

See Also

al_drop_next_event(3), al_is_event_queue_empty(3)

Referenced By

al_drop_next_event(3).

Allegro reference manual