al_destroy...ent_source(3)

πŸ“¦
version 5.2.11.3 Β· 3 versions
, in arch rolling

🌸 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 πŸ¦‹


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