Version

Version — Version information variables.

Types and Values

#define MIRAGE_SOVERSION_MAJOR
#define MIRAGE_SOVERSION_MINOR
#define MIRAGE_SOVERSION_PATCH
#define MIRAGE_VERSION_MAJOR
#define MIRAGE_VERSION_MICRO
#define MIRAGE_VERSION_MINOR
#define MIRAGE_VERSION_LONG
#define MIRAGE_VERSION_SHORT
extern const guint mirage_soversion_major
extern const guint mirage_soversion_minor
extern const guint mirage_soversion_patch
extern const guint mirage_version_major
extern const guint mirage_version_micro
extern const guint mirage_version_minor
extern const gchar * mirage_version_long
extern const gchar * mirage_version_short

Includes

#include <mirage-version.h>

Description

libMirage provides version information, primarily useful in configure checks for builds that have a configure script. It can also be used in applications when displaying underlying system version information.

Additionaly, semantic version is also exposed, which is primarily intended to be used in libMirage's plugin system.

Functions

Types and Values

MIRAGE_SOVERSION_MAJOR

#define MIRAGE_SOVERSION_MAJOR 11

The major component of semantic version of the libMirage library. Like mirage_soversion_major, but from the headers used at application compile time, rather than from the library linked against at application run time.


MIRAGE_SOVERSION_MINOR

#define MIRAGE_SOVERSION_MINOR 0

The minor component of semantic version of the libMirage library. Like mirage_soversion_minor, but from the headers used at application compile time, rather than from the library linked against at application run time.


MIRAGE_SOVERSION_PATCH

#define MIRAGE_SOVERSION_PATCH 0

The patch component of semantic version of the libMirage library. Like mirage_soversion_patch, but from the headers used at application compile time, rather than from the library linked against at application run time.


MIRAGE_VERSION_MAJOR

#define MIRAGE_VERSION_MAJOR 3

The major version number of the libMirage library. Like mirage_version_major, but from the headers used at application compile time, rather than from the library linked against at application run time.


MIRAGE_VERSION_MICRO

#define MIRAGE_VERSION_MICRO 0

The micro version number of the libMirage library. Like mirage_version_micro, but from the headers used at application compile time, rather than from the library linked against at application run time.


MIRAGE_VERSION_MINOR

#define MIRAGE_VERSION_MINOR 2

The minor version number of the libMirage library. Like mirage_version_minor, but from the headers used at application compile time, rather than from the library linked against at application run time.


MIRAGE_VERSION_LONG

#define MIRAGE_VERSION_LONG "3.2.0"

The long version string of the libMirage library. Like mirage_version_long, but from the headers used at application compile time, rather than from the library linked against at application run time.


MIRAGE_VERSION_SHORT

#define MIRAGE_VERSION_SHORT "3.2"

The short version string of the libMirage library. Like mirage_version_long, but from the headers used at application compile time, rather than from the library linked against at application run time.


mirage_soversion_major

extern const guint mirage_soversion_major;

The major component of semantic version of the libMirage library. It is intended to be used in libMirage's plugin system and should not be of much interest to application developers.

This variable is in the library, so it represents the version of libMirage library you have linked against (contrary to MIRAGE_SOVERSION_MAJOR macro, which represents the version of the libMirage headers you have included).


mirage_soversion_minor

extern const guint mirage_soversion_minor;

The minor component of semantic version of the libMirage library. It is intended to be used in libMirage's plugin system and should not be of much interest to application developers.

This variable is in the library, so it represents the version of libMirage library you have linked against (contrary to MIRAGE_SOVERSION_MINOR macro, which represents the version of the libMirage headers you have included).


mirage_soversion_patch

extern const guint mirage_soversion_patch;

The patch component of semantic version of the libMirage library. It is intended to be used in libMirage's plugin system and should not be of much interest to application developers.

This variable is in the library, so it represents the version of libMirage library you have linked against (contrary to MIRAGE_SOVERSION_PATCH macro, which represents the version of the libMirage headers you have included).


mirage_version_major

extern const guint mirage_version_major;

The major version number of the libMirage library. (e.g. in libMirage version 1.2.5 this is 1.)

This variable is in the library, so it represents the version of libMirage library you have linked against (contrary to MIRAGE_VERSION_MAJOR macro, which represents the version of the libMirage headers you have included).


mirage_version_micro

extern const guint mirage_version_micro;

The micro version number of the libMirage library. (e.g. in libMirage version 1.2.5 this is 5.)

This variable is in the library, so it represents the version of libMirage library you have linked against (contrary to MIRAGE_VERSION_MICRO macro, which represents the version of the libMirage headers you have included).


mirage_version_minor

extern const guint mirage_version_minor;

The minor version number of the libMirage library. (e.g. in libMirage version 1.2.5 this is 2.)

This variable is in the library, so it represents the version of libMirage library you have linked against (contrary to MIRAGE_VERSION_MINOR macro, which represents the version of the libMirage headers you have included).


mirage_version_long

extern const gchar *mirage_version_long;

The long version string of the libMirage library.

This variable is in the library, so it represents the version of libMirage library you have linked against (contrary to MIRAGE_VERSION_LONG macro, which represents the version of the libMirage headers you have included).


mirage_version_short

extern const gchar *mirage_version_short;

The long version string of the libMirage library.

This variable is in the library, so it represents the version of libMirage library you have linked against (contrary to MIRAGE_VERSION_SHORT macro, which represents the version of the libMirage headers you have included).