## anjuta-version

anjuta-version — Anjuta version checking

## Synopsis

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

## Description

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

## Details

### LIBANJUTA_MAJOR_VERSION

    #define LIBANJUTA_MAJOR_VERSION			(2)

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

### LIBANJUTA_MINOR_VERSION

    #define LIBANJUTA_MINOR_VERSION			(32)

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

### LIBANJUTA_MICRO_VERSION

    #define LIBANJUTA_MICRO_VERSION			(1)

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

### LIBANJUTA_VERSION

    #define LIBANJUTA_VERSION					(2.32.1.1)

Anjuta version.

### LIBANJUTA_VERSION_S

    #define LIBANJUTA_VERSION_S				"2.32.1.1"

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

### LIBANJUTA_VERSION_HEX

    #define             LIBANJUTA_VERSION_HEX

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

### 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