anjuta-version

anjuta-version — Anjuta version checking

Synopsis

#define             ANJUTA_CHECK_VERSION                (major,
                                                         minor,
                                                         micro)
#define             LIBANJUTA_MAJOR_VERSION
#define             LIBANJUTA_MICRO_VERSION
#define             LIBANJUTA_MINOR_VERSION
#define             LIBANJUTA_VERSION
#define             LIBANJUTA_VERSION_HEX
#define             LIBANJUTA_VERSION_S

Description

Anjuta provides macros to check the version of the library at compile-time

Details

ANJUTA_CHECK_VERSION()

#define             ANJUTA_CHECK_VERSION(major,minor,micro)

Compile-time version checking. Evaluates to TRUE if the version of Anjuta is greater than the required one.

major :

required major version

minor :

required minor version

micro :

required micro version

LIBANJUTA_MAJOR_VERSION

#define LIBANJUTA_MAJOR_VERSION			(3)

Anjuta major version component (e.g. 1 if LIBANJUTA_VERSION is 1.2.3)


LIBANJUTA_MICRO_VERSION

#define LIBANJUTA_MICRO_VERSION			(0)

Anjuta micro version component (e.g. 3 if LIBANJUTA_VERSION is 1.2.3)


LIBANJUTA_MINOR_VERSION

#define LIBANJUTA_MINOR_VERSION			(2)

Anjuta minor version component (e.g. 2 if LIBANJUTA_VERSION is 1.2.3)


LIBANJUTA_VERSION

#define LIBANJUTA_VERSION					(3.2.0)

Anjuta version.


LIBANJUTA_VERSION_HEX

#define             LIBANJUTA_VERSION_HEX

Anjuta version, encoded as an hexadecimal number, useful for integer comparisons.


LIBANJUTA_VERSION_S

#define LIBANJUTA_VERSION_S				"3.2.0"

Anjuta version, encoded as a string, useful for printing and concatenation.