DOKK / manpages / debian 12 / allegro5-doc / al_get_event_source_data.3alleg5.en
al_get_event_source_data(3alleg5) al_get_event_source_data(3alleg5)

al_get_event_source_data - Allegro 5 API

#include <allegro5/allegro.h>
intptr_t al_get_event_source_data(const ALLEGRO_EVENT_SOURCE *source)
    

Returns the abstract user data associated with the event source. If no data was previously set, returns NULL.

al_set_event_source_data(3alleg5)

Allegro reference manual