DOKK / manpages / debian 10 / allegro5-doc / al_destroy_event_queue.3alleg5.en
al_destroy_event_queue(3alleg5) al_destroy_event_queue(3alleg5)

al_destroy_event_queue - Allegro 5 API

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

Destroy the event queue specified. All event sources currently registered with the queue will be automatically unregistered before the queue is destroyed.

al_create_event_queue(3alleg5), ALLEGRO_EVENT_QUEUE(3alleg5)

Allegro reference manual