Add version constants and constants that can be used to detect changes - libzah… | |
git clone git://git.suckless.org/libzahl | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 970b82a39d48951bf450dda5945bb4ca7562e9f2 | |
parent 77e2915791d49b7086483c1fd86c27fce4fb0780 | |
Author: Mattias Andrée <[email protected]> | |
Date: Fri, 13 May 2016 05:43:39 +0200 | |
Add version constants and constants that can be used to detect changes | |
Signed-off-by: Mattias Andrée <[email protected]> | |
Diffstat: | |
M zahl.h | 15 +++++++++++++++ | |
1 file changed, 15 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/zahl.h b/zahl.h | |
@@ -15,6 +15,21 @@ | |
+/* TODO these should be documented*/ | |
+#define ZAHL_VERSION_MAJOR 1L | |
+#define ZAHL_VERSION_MINOR 1L | |
+#define ZAHL_VERSION_PATCHLEVEL 0L | |
+#define ZAHL_VERSION (ZAHL_VERSION_MAJOR * 1000000L + \ | |
+ ZAHL_VERSION_MINOR * 1000L + \ | |
+ ZAHL_VERSION_PATCHLEVEL) | |
+#define ZAHL_VERSION_STRING "1.1" | |
+#define ZAHL_INTERNALS_VERSION 1 | |
+#define ZAHL_ZRANDDEV_COUNT 7 | |
+#define ZAHL_ZRANDDIST_COUNT 3 | |
+#define ZAHL_ZERROR_COUNT 6 | |
+ | |
+ | |
+ | |
#include "zahl/internals.h" | |