CARB_HEXVERSION
Defined in carb/Interface.h
-
CARB_HEXVERSION(major, minor)
A macro to construct a hex-version.
Note
A
major
of0
has special significance to Semantic Versioning: every iteration ofminor
is also considered a breaking change. However, carb::isVersionSemanticallyCompatible will warn on different minor versions if the major version is0
, but still reporttrue
.- Parameters
major – The major Semantic Version of the interface. It is recommended to start at
1
.minor – The minor Semantic Version of the interface. It is recommended to start at
0
.
- Returns
A hex-version.