al_drop_next_event man page

al_drop_next_event — Allegro 5 API

Synopsis

#include <allegro5/allegro.h>

bool al_drop_next_event(ALLEGRO_EVENT_QUEUE *queue)

Description

Drop (remove) the next event from the queue. If the queue is empty, nothing happens. Returns true if an event was dropped.

See Also

al_flush_event_queue(3), al_is_event_queue_empty(3)

Referenced By

al_flush_event_queue(3), al_peek_next_event(3).

Allegro reference manual