16#define COMMS_MAJOR_VERSION 5U
19#define COMMS_MINOR_VERSION 5U
22#define COMMS_PATCH_VERSION 1U
25#define COMMS_MAKE_VERSION(major_, minor_, patch_) \
26 ((static_cast<unsigned>(major_) << 24) | \
27 (static_cast<unsigned>(minor_) << 8) | \
28 (static_cast<unsigned>(patch_)))
31#define COMMS_VERSION COMMS_MAKE_VERSION(COMMS_MAJOR_VERSION, COMMS_MINOR_VERSION, COMMS_PATCH_VERSION)
59constexpr unsigned versionCreate(
unsigned major,
unsigned minor,
unsigned patch)
Main namespace for all classes / functions of COMMS library.
constexpr unsigned version()
Version of the COMMS library as single numeric value.
Definition version.h:66
constexpr unsigned versionCreate(unsigned major, unsigned minor, unsigned patch)
Create version of the library as single unsigned numeric value.
Definition version.h:59
constexpr unsigned versionMinor()
Minor verion of the library.
Definition version.h:45
constexpr unsigned versionPatch()
Patch level of the library.
Definition version.h:52
constexpr unsigned versionMajor()
Major verion of the library.
Definition version.h:38
#define COMMS_MAKE_VERSION(major_, minor_, patch_)
Macro to create numeric version as single unsigned number.
Definition version.h:25
#define COMMS_VERSION
Version of the COMMS library as single numeric value.
Definition version.h:31
#define COMMS_PATCH_VERSION
Patch level of the library.
Definition version.h:22
#define COMMS_MAJOR_VERSION
Major verion of the library.
Definition version.h:16
#define COMMS_MINOR_VERSION
Minor verion of the library.
Definition version.h:19