Information about the current Collage version.
More...
#include <version.h>
Information about the current Collage version.
Definition at line 51 of file version.h.
static bool co::Version::check |
( |
| ) |
|
|
inlinestatic |
Runtime check for ABI compatibility.
Call from code using Collage. Will fail if the executable was compiled against a version incompatible with the runtime version.
- Returns
- true if the link-time and compile-time DSO are compatible.
Definition at line 83 of file version.h.
static int co::Version::getABI |
( |
| ) |
|
|
static |
- Returns
- the current binary interface version of Collage.
Referenced by co::init().
static int co::Version::getMajor |
( |
| ) |
|
|
static |
- Returns
- the current major version of Collage.
static int co::Version::getMinor |
( |
| ) |
|
|
static |
- Returns
- the current minor version of Collage.
static int co::Version::getPatch |
( |
| ) |
|
|
static |
- Returns
- the current patch level of Collage.
static int co::Version::getRevision |
( |
| ) |
|
|
static |
static std::string co::Version::getRevString |
( |
| ) |
|
|
static |
- Returns
- the current Collage version plus the git SHA hash (MM.mm.pp.rev).
static std::string co::Version::getString |
( |
| ) |
|
|
static |
- Returns
- the current Collage version (MM.mm.pp).
The documentation for this class was generated from the following file: