Versioning Macros

Versioning Macros — Versioning utility macros

Synopsis

#define             HILDON_MAJOR_VERSION
#define             HILDON_MINOR_VERSION
#define             HILDON_MICRO_VERSION
#define             HILDON_VERSION
#define             HILDON_CHECK_VERSION                (major,minor,micro)

Description

Hildon offers a set of macros for checking the version of the library an application was linked to.

Details

HILDON_MAJOR_VERSION

#define HILDON_MAJOR_VERSION				    (2)

The major version of the Hildon library (1, if HILDON_VERSION is 1.2.3)


HILDON_MINOR_VERSION

#define HILDON_MINOR_VERSION				    (2)

The minor version of the Hildon library (2, if HILDON_VERSION is 1.2.3)


HILDON_MICRO_VERSION

#define HILDON_MICRO_VERSION				    (3)

The micro version of the Hildon library (3, if HILDON_VERSION is 1.2.3)


HILDON_VERSION

#define HILDON_VERSION                                      (2.2.3)

The full version of the Hildon library, like 1.2.3


HILDON_CHECK_VERSION()

#define             HILDON_CHECK_VERSION(major,minor,micro)

Evaluates to TRUE if the version of the Hildon library is greater than major, minor and micro

major : major version, like 1 in 1.2.3
minor : minor version, like 2 in 1.2.3
micro : micro version, like 3 in 1.2.3