AL_IS_EVENT_SOURCE_REGISTERED(3)
π al_is_event_source_registered(3) π
okay so this is a page straight out of the Allegro reference manual, and honestly? it's a tiny little icon and i'm obsessed. let's get into it π«Ά
β¨ NAME β¨
al_is_event_source_registered β it's the Allegro 5 API function that tells you whether a source is registered. that's it, that's the whole vibe. no cap. π¦
πΈ SYNOPSIS πΈ
#include <allegro5/allegro.h>
bool al_is_event_source_registered(ALLEGRO_EVENT_QUEUE *queue,
ALLEGRO_EVENT_SOURCE *source)
like yes bestie, include allegro5/allegro.h first, always π
π DESCRIPTION π
bestie. it returns true if the event source is registered. literally that's the whole function. one job, and it ate. π
β¨
ngl it's giving "short and sweet" main character energy β you pass in aqueueand asource, and it just tells you yes or no on the registration situation. π₯
π SEE ALSO π
al_register_event_source(3)β the one that actually does the registering, iykyk π
β SINCE β
5.2.0 β so it's been here since five-two-oh, no drama π
and that's the whole page, bestie!! πβ¨ this lil' cutie lives in the Allegro reference manual, brought to you by the fine folks behind Allegro, and it's signed off at the bottom as al_is_even..._registered(3) π¦π go register some event sources, you absolute legend ππΈ
π¦ 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