al_destroy_event_queue(3alleg5)
β¨ NAME β¨
al_destroy_event_queue β Allegro 5 API. bestie, this is the function that says bye-bye to your event queue, no cap. π
π¦ SYNOPSIS π¦
#include <allegro5/allegro.h>
void al_destroy_event_queue(ALLEGRO_EVENT_QUEUE *queue)
π DESCRIPTION π
okay so listen. This function destroys the event queue specified. That's the queue you hand over. π₯
And the way that it's so clean? All event sources that are currently registered with the queue get automatically unregistered before the queue is destroyed. So you don't have to go around unregistering them yourself, bestie β the queue handles its own goodbye tour. π«Ά
Also, plot twist: if queue is NULL, this function does nothing. Absolutely nothing. It just vibes. (since 5.2.9) β¨
this is a destroy function, so it's giving permanent deletion energy. Handle with care, gorgeous. π
π SEE ALSO π
and that's the whole page, bestie. source: Allegro reference manual, page: al_destroy_event_queue(3alleg5), date: not listed on this page. mwah π
π¦ where this page comes from
- debian trixie: allegro5-doc 2:5.2.10.1+dfsg-1 Β· Zlib
- ubuntu questing: allegro5-doc 2:5.2.10.1+dfsg-1build1
- ubuntu resolute: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- ubuntu stonking: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms