## Version Information Version Information — variables and functions to check the libmatewnck version |

## Stability Level

Unstable, unless otherwise indicated

## Synopsis

    #include <libmatewnck/libmatewnck.h>

    #define             MATEWNCK_MAJOR_VERSION
    #define             MATEWNCK_MINOR_VERSION
    #define             MATEWNCK_MICRO_VERSION
    #define             MATEWNCK_CHECK_VERSION                  (major,
                                                             minor,
                                                             micro)

## Description

libmatewnck provides version information, primarily useful in configure checks for builds that have a configure script, and to write code against different versions of libmatewnck that do not provide the same API.

## Details

### MATEWNCK_MAJOR_VERSION

    #define MATEWNCK_MAJOR_VERSION (2)

Returns : | the major version number of the libmatewnck library, from the headers used at application compile time, rather than from the library linked against at application run time. (e.g. in libmatewnck version 1.2.5 this is 1.)

Since 2.32

### MATEWNCK_MINOR_VERSION

    #define MATEWNCK_MINOR_VERSION (31)

Returns : | the minor version number of the libmatewnck library, from the headers used at application compile time, rather than from the library linked against at application run time. (e.g. in libmatewnck version 1.2.5 this is 2.)

Since 2.32

### MATEWNCK_MICRO_VERSION

    #define MATEWNCK_MICRO_VERSION (0)

Returns : | the micro version number of the libmatewnck library, from the headers used at application compile time, rather than from the library linked against at application run time. (e.g. in libmatewnck version 1.2.5 this is 5.)

Since 2.32

### MATEWNCK_CHECK_VERSION()

    #define             MATEWNCK_CHECK_VERSION(major,minor,micro)

`major` : | major version (e.g. 1 for version 1.2.5)
`minor` : | minor version (e.g. 2 for version 1.2.5)
`micro` : | micro version (e.g. 5 for version 1.2.5)
Returns : | `TRUE` if the version of the libmatewnck header files is the same as or newer than the passed-in version, `FALSE` otherwise.

Since 2.32