Top |
#define | CATTLE_MAJOR_VERSION |
#define | CATTLE_MINOR_VERSION |
#define | CATTLE_MICRO_VERSION |
extern const guint | cattle_major_version |
extern const guint | cattle_minor_version |
extern const guint | cattle_micro_version |
The following variables, functions and macros allow one to check both the version of Cattle being used for compilation and the one used at runtime.
Cattle follows the MAJOR.MINOR.MICRO versioning scheme, where all releases sharing the same major number are ABI compatible and releases with and odd minor number are unstable releases targeted at developers only.
#define CATTLE_CHECK_VERSION(major,minor,micro)
Check the Cattle library used for compilation is compatible with
the required version described by major
, minor
and micro
.
gboolean cattle_check_version (guint required_major
,guint required_minor
,guint required_micro
);
Check the Cattle library used at runtime is compatible with the
required version described by required_major
, required_minor
and
required_micro
.
#define CATTLE_MAJOR_VERSION (1)
Major version of the Cattle library used for compilation.
#define CATTLE_MINOR_VERSION (4)
Minor version of the Cattle library used for compilation.
#define CATTLE_MICRO_VERSION (0)
Micro version of the Cattle library used for compilation.
extern const guint cattle_major_version;
Major version of the Cattle library used at runtime.
extern const guint cattle_minor_version;
Minor version of the Cattle library used at runtime.