1al_wait_for_event_until(3) Library Functions Manual al_wait_for_event_until(3)
2
3
4
6 al_wait_for_event_until
7
9 #include <allegro5/allegro.h>
10
11 bool al_wait_for_event_until(ALLEGRO_EVENT_QUEUE *queue,
12 ALLEGRO_EVENT *ret_event, ALLEGRO_TIMEOUT *timeout)
13
15 Wait until the event queue specified is non-empty. If ret_event is not
16 NULL, the first event in the queue will be copied into ret_event and
17 removed from the queue. If ret_event is NULL the first event is left
18 at the head of the queue.
19
20 timeout determines how long to wait. If the call times out, false is
21 returned. Otherwise true is returned.
22
24 ALLEGRO_EVENT(3), ALLEGRO_TIMEOUT(3), al_init_timeout(3),
25 al_wait_for_event(3), al_wait_for_event_timed(3)
26
27
28
29Allegro reference manual al_wait_for_event_until(3)