25 #ifndef CUTS_VERSION_H 26 #define CUTS_VERSION_H 34 #define CUTS_VERSION_MAJOR 6 37 #define CUTS_VERSION_MINOR 2 40 #define CUTS_VERSION_PATCH 0 43 #define CUTS_ENCODE_VERSION(major, minor, patch) ( \ 49 #define CUTS_VERSION CUTS_ENCODE_VERSION( \ 55 #define CUTS_LIB_VERSION "6.2." 58 #define CUTS_IS_AT_LEAST(major,minor,patch) ( \ 60 CUTS_ENCODE_VERSION(major,minor,patch)) 80 static bool is_at_least(
int major,
int minor,
int patch);
83 static bool has_feature(
const std::string& feature);
87 #endif // CUTS_VERSION_H static int get_major()
Return the major version number of cuts, e.g., 1 for '1.2.3'.
static bool has_feature(const std::string &feature)
Return true if the named feature is available in cuts.
static int get_minor()
Return the minor version number of cuts, e.g., 2 for '1.2.3'.
Top-level namespace of the Bayeux/cuts module library.
Definition: accept_cut.h:21
Describe the cuts API version and features.
Definition: version.h:66
static std::string get_version()
Return the full version number of cuts as a string, e.g., '1.2.3'.
static int get_patch()
Return the patch version number of cuts, e.g., 3 for '1.2.3'.
static bool is_at_least(int major, int minor, int patch)
Return true if the current cuts version >= (major, minor, patch)