CARB_HEXVERSION
Defined in carb/Interface.h
-
CARB_HEXVERSION(major, minor)
A macro to construct a hex-version.
Note
A
majorof0has special significance to Semantic Versioning: every iteration ofminoris 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.