8 #ifndef SCOOP_VERSION_H 9 #define SCOOP_VERSION_H 17 # define SCOOP_VERSION_MAJOR 0 20 # define SCOOP_VERSION_MINOR 1 23 # define SCOOP_VERSION_PATCH 4 26 # define SCOOP_VERSION_REVISION 0x1185a5a 29 # define SCOOP_VERSION_ABI 2ull 32 # define SCOOP_VERSION_STRING \ 36 # define SCOOP_REV_STRING \ 40 # define SCOOP_VERSION_GT( MAJOR, MINOR, PATCH ) \ 41 ( (SCOOP_VERSION_MAJOR>MAJOR) || \ 42 (SCOOP_VERSION_MAJOR==MAJOR && (SCOOP_VERSION_MINOR>MINOR || \ 43 (SCOOP_VERSION_MINOR==MINOR && SCOOP_VERSION_PATCH>PATCH)))) 46 # define SCOOP_VERSION_GE( MAJOR, MINOR, PATCH ) \ 47 ( (SCOOP_VERSION_MAJOR>MAJOR) || \ 48 (SCOOP_VERSION_MAJOR==MAJOR && (SCOOP_VERSION_MINOR>MINOR || \ 49 (SCOOP_VERSION_MINOR==MINOR && SCOOP_VERSION_PATCH>=PATCH)))) 52 # define SCOOP_VERSION_LT( MAJOR, MINOR, PATCH ) \ 53 ( (SCOOP_VERSION_MAJOR<MAJOR) || \ 54 (SCOOP_VERSION_MAJOR==MAJOR && (SCOOP_VERSION_MINOR<MINOR || \ 55 (SCOOP_VERSION_MINOR==MINOR && SCOOP_VERSION_PATCH<PATCH)))) 58 # define SCOOP_VERSION_LE( MAJOR, MINOR, PATCH ) \ 59 ( (SCOOP_VERSION_MAJOR<MAJOR) || \ 60 (SCOOP_VERSION_MAJOR==MAJOR && (SCOOP_VERSION_MINOR<MINOR || \ 61 (SCOOP_VERSION_MINOR==MINOR && SCOOP_VERSION_PATCH<=PATCH)))) 68 static int getMajor();
71 static int getMinor();
74 static int getPatch();
77 static std::string getString();
80 static unsigned long long getRevision();
86 static std::string getRevString();
109 "description": "Version information of the running application", 111 "major": { "type": "integer" }, 112 "minor": { "type": "integer" }, 113 "patch": { "type": "integer" }, 114 "abi": { "type": "integer" }, 115 "revision": { "type": "string" } 130 "revision": "1185a5a" static std::string toJSON()
Defines export visibility macros for library scoop.
static bool check()
Runtime check for ABI compatibility.
Information about the current scoop version.
#define SCOOP_VERSION_MAJOR
The current major version.
#define SCOOP_VERSION_MINOR
The current minor version.
static std::string getSchema()