al_set_event_source_data - Man Page
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. Allegro does not use the data internally for anything; it is simply meant as a convenient way to associate your own data or objects with events.
See Also
Referenced By
Allegro reference manual