1ALLEGRO_DATE(3)                 Allegro manual                 ALLEGRO_DATE(3)
2
3
4

NAME

6       ALLEGRO_DATE - Defined to a number with the release date of Allegro.
7

SYNOPSIS

9       #include <allegro.h>
10
11
12       #define ALLEGRO_DATE
13

DESCRIPTION

15       Defined  to  an  integer  containing the release date of Allegro in the
16       packed format `yyyymmdd'. Example:
17
18          const int year = ALLEGRO_DATE / 10000;
19          const int month = (ALLEGRO_DATE / 100) % 100;
20          const int day = ALLEGRO_DATE % 100;
21
22          allegro_message("Year %d, month %d, day %d\n",
23             year, month, day);
24
25
26
27
28Allegro                          version 4.4.3                 ALLEGRO_DATE(3)
Impressum