DOKK / manpages / debian 12 / allegro5-doc / al_create_event_queue.3alleg5.en
al_create_event_queue(3alleg5) al_create_event_queue(3alleg5)

al_create_event_queue - Allegro 5 API

#include <allegro5/allegro.h>
ALLEGRO_EVENT_QUEUE *al_create_event_queue(void)
    

Create a new, empty event queue, returning a pointer to the newly created object if successful. Returns NULL on error.

al_register_event_source(3alleg5), al_destroy_event_queue(3alleg5), ALLEGRO_EVENT_QUEUE(3alleg5)

Allegro reference manual