Versioning Information
Versioning Information — Version utilities
|
|
Description
Unique provides a set of macros to check the version of the library
and allow compile-time guards around new features.
Functions
UNIQUE_MAJOR_VERSION
#define UNIQUE_MAJOR_VERSION (3)
Major version of Unique
UNIQUE_MINOR_VERSION
#define UNIQUE_MINOR_VERSION (0)
Minor version of Unique
UNIQUE_MICRO_VERSION
#define UNIQUE_MICRO_VERSION (2)
Micro version of Unique
UNIQUE_CHECK_VERSION()
#define UNIQUE_CHECK_VERSION(major,minor,micro)
Evaluates to TRUE
when the given version is higher than the version
of Unique.
UNIQUE_VERSION_HEX
#define UNIQUE_VERSION_HEX
Unique version as an hexadecimal integer
UNIQUE_API_VERSION
#define UNIQUE_API_VERSION (3.0)
API version
UNIQUE_PROTOCOL_VERSION
#define UNIQUE_PROTOCOL_VERSION (1.0)
Protocol version
Types and Values
UNIQUE_VERSION_S
#define UNIQUE_VERSION_S "3.0.2"
Unique version as a string
UNIQUE_API_VERSION_S
#define UNIQUE_API_VERSION_S "3.0"
API version as a string
UNIQUE_PROTOCOL_VERSION_S
#define UNIQUE_PROTOCOL_VERSION_S "1.0"
Protocol version as a string
UNIQUE_DEFAULT_BACKEND_S
#define UNIQUE_DEFAULT_BACKEND_S "gdbus"
Default backend as a string