AL_SET_EVENT_SOURCE_DATA(3)

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

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