Skip to content

Commit

Permalink
Specify library version & versioning rules in headers
Browse files Browse the repository at this point in the history
  • Loading branch information
wjakob authored and Tessil committed Mar 19, 2024
1 parent f45ebce commit 918f664
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions include/tsl/robin_growth_policy.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@
#include <ratio>
#include <stdexcept>

// 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
Expand Down

0 comments on commit 918f664

Please sign in to comment.