al_destroy...ent_source(3)
πΈ NAME πΈ
al_destroy_user_event_source β Allegro 5 API
Okay bestie, welcome to the Library Functions Manual page for al_destroy...ent_source(3) β this one's from the Allegro 5 API and it's short, sweet, and honestly kinda iconic. π
β¨ SYNOPSIS β¨
#include <allegro5/allegro.h>
void al_destroy_user_event_source(ALLEGRO_EVENT_SOURCE *src)
π DESCRIPTION π
So you've got an event source that was initialised with al_init_user_event_source(3), and now you want to destroy it? This function does exactly that. Slay. β¨
β οΈ Important bestie: this does not free the memory, because that memory was user-allocated to begin with. So don't expect this call to free it for you β it won't! π
It takes your ALLEGRO_EVENT_SOURCE *src, does its destroy thing, and that's the whole vibe. No cap.
π¦ SEE ALSO π¦
ALLEGRO_EVENT_SOURCE(3)β go peek at that one too, bestie π«Ά
okay bye bestie π this was the Allegro reference manual page al_destroy...ent_source(3). π
π¦ 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