mx-version

## mx-version mx-version — Versioning utility macros |

## Synopsis

    #define             MX_MAJOR_VERSION
    #define             MX_MINOR_VERSION
    #define             MX_MICRO_VERSION
    #define             MX_VERSION_S
    #define             MX_VERSION_HEX
    #define             MX_CHECK_VERSION                    (major,
                                                             minor,
                                                             micro)

## Description

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

## Details

### MX_MAJOR_VERSION

    #define MX_MAJOR_VERSION              (1)

The major version of the Mx clibrary (1 if version is 1.2.3)

### MX_MINOR_VERSION

    #define MX_MINOR_VERSION              (4)

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

### MX_MICRO_VERSION

    #define MX_MICRO_VERSION              (6)

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

### MX_VERSION_S

    #define MX_VERSION_S                  "1.4.6"

The full version of the Mx library, in string form (suited for string concatenation)

### MX_VERSION_HEX

    #define             MX_VERSION_HEX

Numerically encoded version of the Mx library, like 0x010203

### MX_CHECK_VERSION()

    #define             MX_CHECK_VERSION(major,minor,micro)

Evaluates to `TRUE` if the version of the Mx 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