DOKK / manpages / debian 11 / allegro5-doc / al_get_timer_event_source.3alleg5.en
al_get_timer_event_source(3alleg5) al_get_timer_event_source(3alleg5)

al_get_timer_event_source - Allegro 5 API

#include <allegro5/allegro.h>
ALLEGRO_EVENT_SOURCE *al_get_timer_event_source(ALLEGRO_TIMER *timer)
    

Retrieve the associated event source. Timers will generate events of type ALLEGRO_EVENT_TIMER(3alleg5).

Allegro reference manual