Version Information

Version Information — Library version checks

Synopsis

#define             VTE_MAJOR_VERSION
#define             VTE_MINOR_VERSION
#define             VTE_MICRO_VERSION

#define             VTE_CHECK_VERSION                   (major,
                                                         minor,
                                                         micro)

Description

These macros enable compile time checks of the library version.

Details

VTE_MAJOR_VERSION

#define VTE_MAJOR_VERSION (0)

The major version number of the VTE library (e.g. in version 3.1.4 this is 3).

Since 0.16.15


VTE_MINOR_VERSION

#define VTE_MINOR_VERSION (28)

The minor version number of the VTE library (e.g. in version 3.1.4 this is 1).

Since 0.16.15


VTE_MICRO_VERSION

#define VTE_MICRO_VERSION (2)

The micro version number of the VTE library (e.g. in version 3.1.4 this is 4).

Since 0.16.15


VTE_CHECK_VERSION()

#define             VTE_CHECK_VERSION(major,minor,micro)

Macro to check the library version at compile time. It returns 1 if the version of VTE is greater or equal to the required one, and 0 otherwise.

major :

required major version

minor :

required minor version

micro :

required micro version

Since 0.16.15