8 #ifndef NLPHYSICS_VERSION_H 9 #define NLPHYSICS_VERSION_H 17 # define NLPHYSICS_VERSION_MAJOR 0 20 # define NLPHYSICS_VERSION_MINOR 3 23 # define NLPHYSICS_VERSION_PATCH 5 26 # define NLPHYSICS_VERSION_REVISION 0x6af81ca 29 # define NLPHYSICS_VERSION_ABI 4ull 32 # define NLPHYSICS_VERSION_STRING \ 36 # define NLPHYSICS_REV_STRING \ 40 # define NLPHYSICS_VERSION_GT( MAJOR, MINOR, PATCH ) \ 41 ( (NLPHYSICS_VERSION_MAJOR>MAJOR) || \ 42 (NLPHYSICS_VERSION_MAJOR==MAJOR && (NLPHYSICS_VERSION_MINOR>MINOR || \ 43 (NLPHYSICS_VERSION_MINOR==MINOR && NLPHYSICS_VERSION_PATCH>PATCH)))) 46 # define NLPHYSICS_VERSION_GE( MAJOR, MINOR, PATCH ) \ 47 ( (NLPHYSICS_VERSION_MAJOR>MAJOR) || \ 48 (NLPHYSICS_VERSION_MAJOR==MAJOR && (NLPHYSICS_VERSION_MINOR>MINOR || \ 49 (NLPHYSICS_VERSION_MINOR==MINOR && NLPHYSICS_VERSION_PATCH>=PATCH)))) 52 # define NLPHYSICS_VERSION_LT( MAJOR, MINOR, PATCH ) \ 53 ( (NLPHYSICS_VERSION_MAJOR<MAJOR) || \ 54 (NLPHYSICS_VERSION_MAJOR==MAJOR && (NLPHYSICS_VERSION_MINOR<MINOR || \ 55 (NLPHYSICS_VERSION_MINOR==MINOR && NLPHYSICS_VERSION_PATCH<PATCH)))) 58 # define NLPHYSICS_VERSION_LE( MAJOR, MINOR, PATCH ) \ 59 ( (NLPHYSICS_VERSION_MAJOR<MAJOR) || \ 60 (NLPHYSICS_VERSION_MAJOR==MAJOR && (NLPHYSICS_VERSION_MINOR<MINOR || \ 61 (NLPHYSICS_VERSION_MINOR==MINOR && NLPHYSICS_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": "6af81ca" Information about the current nlphysics version.
static bool check()
Runtime check for ABI compatibility.
#define NLPHYSICS_VERSION_MINOR
The current minor version.
#define NLPHYSICS_VERSION_MAJOR
The current major version.
Defines export visibility macros for library nlphysics.
Copyright (c) 2015-2017 VG-Lab/URJC.
static std::string toJSON()
static std::string getSchema()