1al_peek_next_event(3)                                    al_peek_next_event(3)
2
3
4

NAME

6       al_peek_next_event - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              bool al_peek_next_event(ALLEGRO_EVENT_QUEUE *queue, ALLEGRO_EVENT *ret_event)
12

DESCRIPTION

14       Copy  the  contents of the next event in the event queue specified into
15       ret_event and return true.  The original event packet  will  remain  at
16       the  head  of  the  queue.   If the event queue is actually empty, this
17       function returns false and the contents of ret_event are unspecified.
18

SEE ALSO

20       ALLEGRO_EVENT(3), al_get_next_event(3), al_drop_next_event(3)
21
22
23
24Allegro reference manual                                 al_peek_next_event(3)
Impressum