Skip to content

Commit 918f664

Browse files
wjakobTessil
authored andcommitted
Specify library version & versioning rules in headers
1 parent f45ebce commit 918f664

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

include/tsl/robin_growth_policy.h

+7
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@
3535
#include <ratio>
3636
#include <stdexcept>
3737

38+
// A change of the major version indicates an API and/or ABI break (change of in-memory layout of the data structure)
39+
#define TSL_RH_VERSION_MAJOR 1
40+
// A change of the minor version indicates the addition of a feature without impact on the API/ABI
41+
#define TSL_RH_VERSION_MINOR 2
42+
// A change of the patch version indicates a bugfix without additional functionality
43+
#define TSL_RH_VERSION_PATCH 1
44+
3845
#ifdef TSL_DEBUG
3946
#define tsl_rh_assert(expr) assert(expr)
4047
#else

0 commit comments

Comments
 (0)