al_wait_for_event(3)
π al_wait_for_event(3) π
okay bestie, welcome to the Library Functions Manual corner of the Allegroverse β this one is short, sweet, and lowkey a whole waiting vibe. β¨
πΈ NAME πΈ
al_wait_for_event β Allegro 5 API.
β¨ SYNOPSIS β¨
#include <allegro5/allegro.h>
void al_wait_for_event(ALLEGRO_EVENT_QUEUE *queue, ALLEGRO_EVENT *ret_event)
π¦ DESCRIPTION π¦
So like, this function waits until the event queue you specified is non-empty. It just sits there with main character energy until something shows up. π
If ret_event is not NULL, the first event in the queue gets copied into ret_event and removed from the queue. Snatched, archived, no longer in the queue β periodt. π
If ret_event is NULL, the first event is left at the head of the queue. Not me leaving it right there for later, but yes exactly that. π
bestie, this function is literally just waiting. thatβs the job. no cap. π«Ά
π SEE ALSO π
later bestie! π source/version: Allegro reference manual; page: al_wait_for_event(3); date: not printed in this footer (mysterious, iconic, we move). π¦
π¦ where this page comes from
- arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms