From 82db65ef48f3772829b0311972d2f0f6b5478ef8 Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Mon, 11 Mar 2024 23:18:56 +0100 Subject: [PATCH] Specify library version & versioning rules in headers --- include/tsl/robin_growth_policy.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/tsl/robin_growth_policy.h b/include/tsl/robin_growth_policy.h index eba8cdf..488018d 100644 --- a/include/tsl/robin_growth_policy.h +++ b/include/tsl/robin_growth_policy.h @@ -35,6 +35,13 @@ #include #include +// A change of the major version indicates an API and/or ABI break (change of in-memory layout of the data structure) +#define TSL_RH_VERSION_MAJOR 1 +// A change of the minor version indicates the addition of a feature without impact on the API/ABI +#define TSL_RH_VERSION_MINOR 2 +// A change of the patch version indicates a bugfix without additional functionality +#define TSL_RH_VERSION_PATCH 1 + #ifdef TSL_DEBUG #define tsl_rh_assert(expr) assert(expr) #else