commit de45649fb4670f0327ebea126fe96735038b0907
parent 834b8155fdf5bb3e05df3df9bfcd98d04f2c9c01
Author: Frederic Cambus <fred@statdns.com>
Date: Fri, 16 Nov 2018 08:55:10 +0100
Add ANSILOVE_VERSION_{MAJOR|MINOR|PATCH} macros
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/include/ansilove.h b/include/ansilove.h
@@ -17,8 +17,13 @@
#include <stddef.h>
#include <stdint.h>
+/* Version number */
#define ANSILOVE_VERSION "1.0.0"
+#define ANSILOVE_VERSION_MAJOR 1
+#define ANSILOVE_VERSION_MINOR 0
+#define ANSILOVE_VERSION_PATCH 0
+
/* Error codes */
#define ANSILOVE_INVALID_PARAM 1
#define ANSILOVE_FORMAT_ERROR 2