ALLEGRO_DATE(3alleg4)

ALLEGRO_DATE3alleg4

Defined to a number with the release date of allegro.

Usage

#include <allegro.h>

#define ALLEGRO_DATE

Overview

Defined to an integer containing the release date of Allegro in the packed format `yyyymmdd'. Example:

   const int year = ALLEGRO_DATE / 10000;
   const int month = (ALLEGRO_DATE / 100) % 100;
   const int day = ALLEGRO_DATE % 100;
   allegro_message("Year %d, month %d, day %d\n",
      year, month, day);

Releases

7 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–10
  2. 11–13

From allegro4-doc 2:4.4.3.1-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.