location-version

location-version — Version utility macros

Synopsis

#define             LOCATION_MAJOR_VERSION
#define             LOCATION_MINOR_VERSION
#define             LOCATION_VERSION
#define             LOCATION_CHECK_VERSION              (major,minor)

Description

Macros for checking the version of liblocation to which the application was linked to.

Available since 0.101

Details

LOCATION_MAJOR_VERSION

#define LOCATION_MAJOR_VERSION (0)

The major version of liblocation (1, if LOCATION_VERSION is 1.2)


LOCATION_MINOR_VERSION

#define LOCATION_MINOR_VERSION (102)

The minor version of liblocation (2, if LOCATION_VERSION is 1.2)


LOCATION_VERSION

#define LOCATION_VERSION (0.102)

The full version of liblocation (e.g. 1.2)


LOCATION_CHECK_VERSION()

#define             LOCATION_CHECK_VERSION(major,minor)

Evaluates to TRUE if the version of liblocation is greater than major.minor

major : major version, like 1 in 1.2
minor : minor version, like 2 in 1.2