From 3b618d12d657e1068e91bce042165323c08233c9 Mon Sep 17 00:00:00 2001 From: Ilya Grebnov Date: Fri, 3 Feb 2023 08:54:07 -0800 Subject: [PATCH] Added library version information into header files. --- src/libsais.h | 5 +++++ src/libsais16.h | 5 +++++ src/libsais64.h | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/src/libsais.h b/src/libsais.h index f0f6018..c931701 100644 --- a/src/libsais.h +++ b/src/libsais.h @@ -24,6 +24,11 @@ Please see the file LICENSE for full copyright information. #ifndef LIBSAIS_H #define LIBSAIS_H 1 +#define LIBSAIS_VERSION_MAJOR 2 +#define LIBSAIS_VERSION_MINOR 7 +#define LIBSAIS_VERSION_PATCH 1 +#define LIBSAIS_VERSION_STRING "2.7.1" + #ifdef __cplusplus extern "C" { #endif diff --git a/src/libsais16.h b/src/libsais16.h index 910efd1..11bc94f 100644 --- a/src/libsais16.h +++ b/src/libsais16.h @@ -24,6 +24,11 @@ Please see the file LICENSE for full copyright information. #ifndef LIBSAIS16_H #define LIBSAIS16_H 1 +#define LIBSAIS16_VERSION_MAJOR 2 +#define LIBSAIS16_VERSION_MINOR 7 +#define LIBSAIS16_VERSION_PATCH 1 +#define LIBSAIS16_VERSION_STRING "2.7.1" + #ifdef __cplusplus extern "C" { #endif diff --git a/src/libsais64.h b/src/libsais64.h index f909572..9384974 100644 --- a/src/libsais64.h +++ b/src/libsais64.h @@ -24,6 +24,11 @@ Please see the file LICENSE for full copyright information. #ifndef LIBSAIS64_H #define LIBSAIS64_H 1 +#define LIBSAIS64_VERSION_MAJOR 2 +#define LIBSAIS64_VERSION_MINOR 7 +#define LIBSAIS64_VERSION_PATCH 1 +#define LIBSAIS64_VERSION_STRING "2.7.1" + #ifdef __cplusplus extern "C" { #endif