ALLEGRO_DATE(3alleg)

ALLEGRO_DATE3alleg

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

3 releases since Debian 4.0 (Etch); the text changed 1 time.

  1. 4.0
  2. 5.0–6.0

From liballegro-doc 2:4.2.2-2.2 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.