8 #ifndef EQUALIZER_VERSION_H
9 #define EQUALIZER_VERSION_H
17 # define EQ_VERSION_MAJOR 1
20 # define EQ_VERSION_MINOR 10
23 # define EQ_VERSION_PATCH 1
26 # define EQ_VERSION_REVISION 0xb524db9
29 # define EQ_VERSION_ABI 191
32 # define EQ_VERSION_GT( MAJOR, MINOR, PATCH ) \
33 ( (EQ_VERSION_MAJOR>MAJOR) || \
34 (EQ_VERSION_MAJOR==MAJOR && (EQ_VERSION_MINOR>MINOR || \
35 (EQ_VERSION_MINOR==MINOR && EQ_VERSION_PATCH>PATCH))))
38 # define EQ_VERSION_GE( MAJOR, MINOR, PATCH ) \
39 ( (EQ_VERSION_MAJOR>MAJOR) || \
40 (EQ_VERSION_MAJOR==MAJOR && (EQ_VERSION_MINOR>MINOR || \
41 (EQ_VERSION_MINOR==MINOR && EQ_VERSION_PATCH>=PATCH))))
44 # define EQ_VERSION_LT( MAJOR, MINOR, PATCH ) \
45 ( (EQ_VERSION_MAJOR<MAJOR) || \
46 (EQ_VERSION_MAJOR==MAJOR && (EQ_VERSION_MINOR<MINOR || \
47 (EQ_VERSION_MINOR==MINOR && EQ_VERSION_PATCH<PATCH))))
50 # define EQ_VERSION_LE( MAJOR, MINOR, PATCH ) \
51 ( (EQ_VERSION_MAJOR<MAJOR) || \
52 (EQ_VERSION_MAJOR==MAJOR && (EQ_VERSION_MINOR<MINOR || \
53 (EQ_VERSION_MINOR==MINOR && EQ_VERSION_PATCH<=PATCH))))
60 static int getMajor();
63 static int getMinor();
66 static int getPatch();
69 static std::string getString();
72 static int getRevision();
78 static std::string getRevString();
#define EQ_VERSION_MAJOR
The current major version.
#define EQ_VERSION_MINOR
The current minor version.
static bool check()
Runtime check for ABI compatibility.
Information about the current Equalizer version.