Version

Version — Version information variables.

Types and Values

#define MIRAGE_LT_AGE
#define MIRAGE_LT_CURRENT
#define MIRAGE_LT_REVISION
#define MIRAGE_MAJOR_VERSION
#define MIRAGE_MICRO_VERSION
#define MIRAGE_MINOR_VERSION
#define MIRAGE_VERSION_LONG
#define MIRAGE_VERSION_SHORT
extern const guint mirage_lt_age
extern const guint mirage_lt_current
extern const guint mirage_lt_revision
extern const guint mirage_major_version
extern const guint mirage_micro_version
extern const guint mirage_minor_version
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, libtool version is also exposed, which is primarily intended to be used in libMirage's plugin system.

Functions

Types and Values

MIRAGE_LT_AGE

#define MIRAGE_LT_AGE 0

The age component of libtool version of the libMirage library. Like mirage_lt_age, but from the headers used at application compile time, rather than from the library linked against at application run time.


MIRAGE_LT_CURRENT

#define MIRAGE_LT_CURRENT 7

The current component of libtool version of the libMirage library. Like mirage_lt_current, but from the headers used at application compile time, rather than from the library linked against at application run time.


MIRAGE_LT_REVISION

#define MIRAGE_LT_REVISION 0

The revision component of libtool version of the libMirage library. Like mirage_lt_revision, but from the headers used at application compile time, rather than from the library linked against at application run time.


MIRAGE_MAJOR_VERSION

#define MIRAGE_MAJOR_VERSION 2

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


MIRAGE_MICRO_VERSION

#define MIRAGE_MICRO_VERSION 0

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


MIRAGE_MINOR_VERSION

#define MIRAGE_MINOR_VERSION 0

The minor version number of the libMirage library. Like mirage_minor_version, 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 "2.0.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 "2.0"

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_lt_age

extern const guint mirage_lt_age;

The age component of libtool 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_LT_AGE macro, which represents the version of the libMirage headers you have included).


mirage_lt_current

extern const guint mirage_lt_current;

The current component of libtool 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_LT_CURRENT macro, which represents the version of the libMirage headers you have included).


mirage_lt_revision

extern const guint mirage_lt_revision;

The revision component of libtool 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_LT_REVISION macro, which represents the version of the libMirage headers you have included).


mirage_major_version

extern const guint mirage_major_version;

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_MAJOR_VERSION macro, which represents the version of the libMirage headers you have included).


mirage_micro_version

extern const guint mirage_micro_version;

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_MICRO_VERSION macro, which represents the version of the libMirage headers you have included).


mirage_minor_version

extern const guint mirage_minor_version;

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_MINOR_VERSION 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).