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   (4)

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

### CHAMPLAIN_MICRO_VERSION

    #define CHAMPLAIN_MICRO_VERSION   (1)

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

### CHAMPLAIN_VERSION

    #define CHAMPLAIN_VERSION         0.4.1

The full version of libchamplain, like 1.2.3

### CHAMPLAIN_VERSION_S

    #define CHAMPLAIN_VERSION_S       "0.4.1"

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