aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-05-13 05:43:39 +0200
committerMattias Andrée <maandree@kth.se>2016-05-13 05:43:39 +0200
commit970b82a39d48951bf450dda5945bb4ca7562e9f2 (patch)
tree709a8e8895c59136d71ed91473ad5ffe57991c75
parentFix indentation in manual (diff)
downloadlibzahl-970b82a39d48951bf450dda5945bb4ca7562e9f2.tar.gz
libzahl-970b82a39d48951bf450dda5945bb4ca7562e9f2.tar.bz2
libzahl-970b82a39d48951bf450dda5945bb4ca7562e9f2.tar.xz
Add version constants and constants that can be used to detect changes
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r--zahl.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/zahl.h b/zahl.h
index b224338..2edb23d 100644
--- 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"