ChamplainVersion

## ChamplainVersion ChamplainVersion — Versioning utility macros |

## Synopsis

    #define             CHAMPLAIN_MAJOR_VERSION
    #define             CHAMPLAIN_MINOR_VERSION
    #define             CHAMPLAIN_MICRO_VERSION
    #define             CHAMPLAIN_VERSION
    #define             CHAMPLAIN_VERSION_S
    #define             CHAMPLAIN_VERSION_HEX
    #define             CHAMPLAIN_CHECK_VERSION             (major,
                                                             minor,
                                                             micro)

## Description

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

## Details

### CHAMPLAIN_MAJOR_VERSION

    #define CHAMPLAIN_MAJOR_VERSION   (0)

The major version of libchamplain (1, if `CHAMPLAIN_VERSION` is 1.2.3)

### CHAMPLAIN_MINOR_VERSION

    #define CHAMPLAIN_MINOR_VERSION   (12)

The minor version of libchamplain (2, if `CHAMPLAIN_VERSION` is 1.2.3)

### CHAMPLAIN_MICRO_VERSION

    #define CHAMPLAIN_MICRO_VERSION   (3)

The micro version of libchamplain (3, if `CHAMPLAIN_VERSION` is 1.2.3)

### CHAMPLAIN_VERSION

    #define CHAMPLAIN_VERSION         0.12.3

The full version of libchamplain, like 1.2.3

### CHAMPLAIN_VERSION_S

    #define CHAMPLAIN_VERSION_S       "0.12.3"

The full version of libchamplain, in string form (suited for string concatenation)

### CHAMPLAIN_VERSION_HEX

    #define             CHAMPLAIN_VERSION_HEX

Numerically encoded version of libchamplain, like 0x010203

### CHAMPLAIN_CHECK_VERSION()

    #define             CHAMPLAIN_CHECK_VERSION(major,minor,micro)

Evaluates to `TRUE` if the version of libchamplain is greater or equal 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