1al_get_next_event(3) Library Functions Manual al_get_next_event(3)
2
3
4
6 al_get_next_event
7
9 #include <allegro5/allegro.h>
10
11 bool al_get_next_event(ALLEGRO_EVENT_QUEUE *queue, ALLEGRO_EVENT *ret_event)
12
14 Take the next event out of the event queue specified, and copy the con‐
15 tents into ret_event, returning true. The original event will be
16 removed from the queue. If the event queue is empty, return false and
17 the contents of ret_event are unspecified.
18
20 ALLEGRO_EVENT(3), al_peek_next_event(3), al_wait_for_event(3)
21
22
23
24Allegro reference manual al_get_next_event(3)