.\" Automatically generated by Pandoc 3.1.6.2 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "al_get_next_event" "3" "" "Allegro reference manual" "" .hy .SH NAME .PP al_get_next_event - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include bool al_get_next_event(ALLEGRO_EVENT_QUEUE *queue, ALLEGRO_EVENT *ret_event) \f[R] .fi .SH DESCRIPTION .PP Take the next event out of the event queue specified, and copy the contents into \f[V]ret_event\f[R], returning true. The original event will be removed from the queue. If the event queue is empty, return false and the contents of \f[V]ret_event\f[R] are unspecified. .SH SEE ALSO .PP ALLEGRO_EVENT(3), al_peek_next_event(3), al_wait_for_event(3)