al_register_event_source(3alleg5)

πŸ“¦
version 5.2.11.3 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ NAME ✨

al_register_event_source β€” Allegro 5 API πŸ’–

okay bestie, this is the al_register_event_source(3alleg5) page, so you already know we're in the Allegro 5 API manual. Let's get into it πŸŽ€

🌸 SYNOPSIS 🌸

              #include <allegro5/allegro.h>

              void al_register_event_source(ALLEGRO_EVENT_QUEUE *queue,
                 ALLEGRO_EVENT_SOURCE *source)

πŸ’– DESCRIPTION πŸ’–

So like, al_register_event_source does exactly what the name says: it registers the event source with the event queue you specified. You're introducing them. Making the connection. Matchmaker behavior, honestly πŸ’…

An event source can be registered with any number of event queues at the same time, or with none at all. It's flexible like that, no cap.

And if you try to register an event source with the same event queue more than once? It does nothing. Literally nothing. The call just vibes there like 🧚 "I'm not gonna do anything about it."

πŸ‘€ SEE ALSO πŸ‘€


kisses bestie 🫢 this page came from the Allegro reference manual, and the page title is al_register_event_source(3alleg5). There's no date printed on the footer I got, so I'm not inventing one β€” periodt πŸ’–

πŸ“¦ where this page comes from