PgmVersion

PgmVersion — Pigment version macros.

Synopsis


#include <pgm/pgm.h>

#define             PGM_VERSION_MAJOR
#define             PGM_VERSION_MINOR
#define             PGM_VERSION_MICRO
#define             PGM_VERSION_NANO

Description

You can use the macros to keep the Pigment version information in your application.

Use the pgm_version() function if you want to know which version of Pigment you are currently linked against.

The version macros get defined by including "pgm/pgm.h".

Last reviewed on 2007-04-12 (0.1.5)

Details

PGM_VERSION_MAJOR

#define PGM_VERSION_MAJOR (0)

The major version of Pigment at compile time.


PGM_VERSION_MINOR

#define PGM_VERSION_MINOR (3)

The minor version of Pigment at compile time.


PGM_VERSION_MICRO

#define PGM_VERSION_MICRO (17)

The micro version of Pigment at compile time.


PGM_VERSION_NANO

#define PGM_VERSION_NANO (0)

The nano version of Pigment at compile time. Actual releases have 0, Subversion versions have 1, prerelease versions have [2-n].