1al_add_timer_count(3) al_add_timer_count(3)
23
4
NAME
6al_add_timer_count - Allegro 5 API
7
SYNOPSIS
9#include <allegro5/allegro.h>
1011
void al_add_timer_count(ALLEGRO_TIMER *timer, int64_t diff)
12
DESCRIPTION
14Add diff to the timer’s counter value. This is similar to writing:
1516
al_set_timer_count(timer, al_get_timer_count(timer) + diff);
1718
except that the addition is performed atomically, so no ticks will be
19lost.
20
SEE ALSO
22al_set_timer_count(3)
2324
25
26
Allegro reference manual al_add_timer_count(3)