Raptor
A fast and space-efficient pre-filter
|
Provides RAPTOR version macros and global variables. More...
#include <cstdint>
Go to the source code of this file.
Macros | |
#define | RAPTOR_RELEASE_CANDIDATE 1 |
The release candidate number. 0 means stable release, >= 1 means release candidate. | |
#define | RAPTOR_RELEASE_CANDIDATE_HELPER(RC) "" |
A helper function that expands to a suitable release candidate suffix. | |
#define | RAPTOR_VERSION (RAPTOR_VERSION_MAJOR * 10000 + RAPTOR_VERSION_MINOR * 100 + RAPTOR_VERSION_PATCH) |
The full version as MACRO (number). | |
#define | RAPTOR_VERSION_CSTRING |
The full version as null terminated string. | |
#define | RAPTOR_VERSION_CSTRING_HELPER_FUNC(MAJOR, MINOR, PATCH) |
Converts version numbers to string. | |
#define | RAPTOR_VERSION_CSTRING_HELPER_STR(str) #str |
Converts a number to a string. Preprocessor needs this indirection to properly expand the values to strings. | |
#define | RAPTOR_VERSION_MAJOR 4 |
The major version as MACRO. | |
#define | RAPTOR_VERSION_MINOR 0 |
The minor version as MACRO. | |
#define | RAPTOR_VERSION_PATCH 0 |
The patch version as MACRO. | |
Variables | |
constexpr std::size_t | raptor::raptor_version = RAPTOR_VERSION |
The full version as std::size_t . | |
constexpr char const * | raptor::raptor_version_cstring = RAPTOR_VERSION_CSTRING |
The full version as null terminated string. | |
constexpr uint8_t | raptor::raptor_version_major = RAPTOR_VERSION_MAJOR |
The major version. | |
constexpr uint8_t | raptor::raptor_version_minor = RAPTOR_VERSION_MINOR |
The minor version. | |
constexpr uint8_t | raptor::raptor_version_patch = RAPTOR_VERSION_PATCH |
The patch version. | |
Provides RAPTOR version macros and global variables.
#define RAPTOR_VERSION_CSTRING |
The full version as null terminated string.
#define RAPTOR_VERSION_CSTRING_HELPER_FUNC | ( | MAJOR, | |
MINOR, | |||
PATCH ) |
Converts version numbers to string.