## Versioning Information Versioning Information — Version utilities |

## Synopsis

    #define             UNIQUE_MAJOR_VERSION
    #define             UNIQUE_MINOR_VERSION
    #define             UNIQUE_MICRO_VERSION
    #define             UNIQUE_CHECK_VERSION                (major,
                                                             minor,
                                                             micro)
    #define             UNIQUE_VERSION_S
    #define             UNIQUE_VERSION_HEX
    #define             UNIQUE_API_VERSION
    #define             UNIQUE_API_VERSION_S
    #define             UNIQUE_PROTOCOL_VERSION
    #define             UNIQUE_PROTOCOL_VERSION_S
    #define             UNIQUE_DEFAULT_BACKEND_S

## Description

Unique provides a set of macros to check the version of the library and allow compile-time guards around new features.

## Details

### 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.

`major` : | major version, like 1
`minor` : | minor version, like 2
`micro` : | micro version, like 3

### UNIQUE_VERSION_S

    #define UNIQUE_VERSION_S                "3.0.2"

Unique version as a string

### 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_API_VERSION_S

    #define UNIQUE_API_VERSION_S            "3.0"

API version as a string

### UNIQUE_PROTOCOL_VERSION

    #define UNIQUE_PROTOCOL_VERSION         (1.0)

Protocol version

### 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