Version Information

Version Information — Macros to check the libwalbottle version

Functions

Description

Walbottle provides compile-time version information.

Functions

WBL_MAJOR_VERSION

#define WBL_MAJOR_VERSION (0)

Evaluates to the major version of the libwalbottle headers at compile time. (e.g. in libwalbottle version 1.2.3 this is 1).

Since: 0.1.0


WBL_MINOR_VERSION

#define WBL_MINOR_VERSION (2)

Evaluates to the minor version of the libwalbottle headers at compile time. (e.g. in libwalbottle version 1.2.3 this is 2).

Since: 0.1.0


WBL_MICRO_VERSION

#define WBL_MICRO_VERSION (0)

Evaluates to the micro version of the libwalbottle headers at compile time. (e.g. in libwalbottle version 1.2.3 this is 3).

Since: 0.1.0


WBL_CHECK_VERSION()

#define             WBL_CHECK_VERSION(major,minor,micro)

Evaluates to TRUE if the version of the libwalbottle header files is the same as or newer than the passed-in version.

Parameters

major

major version (e.g. 1 for version 1.2.3)

 

minor

minor version (e.g. 2 for version 1.2.3)

 

micro

micro version (e.g. 3 for version 1.2.3)

 

Since: 0.1.0

Types and Values