AL_SET_EVENT_SOURCE_DATA(3)
π¦ al_set_event_source_data(3) π¦
okay so bestie, this little icon lives in the Library Functions Manual, and it's part of the Allegro 5 API β yes, the whole page is literally about al_set_event_source_data(3), and we're gonna get into it π
πΈ NAME πΈ
al_set_event_source_dataβ Allegro 5 API
β¨ SYNOPSIS β¨
#include <allegro5/allegro.h>
void al_set_event_source_data(ALLEGRO_EVENT_SOURCE *source, intptr_t data)
π DESCRIPTION π
Assign the abstract user data to the event source. That's the move. Allegro does not use the data internally for anything β not even a little bit β it is simply meant as a convenient way to associate your own data or objects with events. So yeah, it's your little stash spot for vibes/objects tied to events, and Allegro is not gonna touch it π«Ά
π SEE ALSO π
π from the Allegro reference manual β footer also says al_set_event_source_data(3), and there's no date printed here, so that's all she wrote π
π¦ 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