Version¶
Defines¶
MIRA_VERSION_IS_DEVELOP¶
This is != 0, when the version of Mira is a debug build, not for production use.
MIRA_VERSION_VALUE¶
Creates a single number from major, minor and patch.
MIRA_VERSION_MAJOR¶
Gets the major version from a MIRA_VERSION_VALUE composed number.
MIRA_VERSION_MINOR¶
Gets the minor version from a MIRA_VERSION_VALUE composed number.
MIRA_VERSION_PATCH¶
Gets the patch version from a MIRA_VERSION_VALUE composed number.
MIRA_VERSION_EQ¶
Is the current Mira version the same as the given arguments?
MIRA_VERSION_LT¶
Is the current Mira version less than the given arguments?
MIRA_VERSION_GT¶
Is the current Mira version greater than the given arguments?
A debug version with the given arguments is also counted as greater than that version here.
MIRA_VERSION_LE¶
Is the current Mira version less than or equal to the given arguments?
A debug version with the given arguments is not counted as less than that version here.
MIRA_VERSION_GE¶
Is the current Mira version greater than or equal to the given arguments?
MIRA_VERSION¶
The current mira version as a MIRA_VERSION_VALUE number.
Functions¶
mira_get_version¶
Get a string describing the library's version.