al_unregister_event_source(3alleg5)
π al_unregister_event_source β Allegro 5 API
okay bestie, welcome to the Allegro 5 API corner of the Allegro reference manual π this one's short and sweet and honestly kinda iconic, so let's go β¨
πΈ SYNOPSIS
#include <allegro5/allegro.h>
void al_unregister_event_source(ALLEGRO_EVENT_QUEUE *queue,
ALLEGRO_EVENT_SOURCE *source)
π¦ DESCRIPTION
so basically: you're unregistering an event source from an event queue. that's it, that's the whole vibe π
and listen β if that event source isn't actually registered with that queue in the first place? nothing happens. literally nothing. no error, no drama, no screaming into the void. it's giving "ok bestie, noted, moving on" π
but here's the part you actually need to know, so pay attention π₯
if the queue had any events in it that originated from that event source, then after this call those events will no longer be in the queue. gone. poof. they get cleared out. so don't be surprised when they don't show up later, okay? π
π SEE ALSO
al_register_event_source(3alleg5)β the other half of the duo, the putting-it-back-in one π«Ά
that's the whole page, no cap. go forth and unregister responsibly, queen π β¨πΈ
signing off from the Allegro reference manual β this was the al_unregister_event_source(3alleg5) 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