summaryrefslogtreecommitdiff
path: root/prism/version.h
diff options
context:
space:
mode:
Diffstat (limited to 'prism/version.h')
-rw-r--r--prism/version.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/prism/version.h b/prism/version.h
new file mode 100644
index 0000000000..181b398462
--- /dev/null
+++ b/prism/version.h
@@ -0,0 +1,38 @@
+/**
+ * @file version.h
+ *
+ * The version of the Prism library.
+ */
+#ifndef PRISM_VERSION_H
+#define PRISM_VERSION_H
+
+#include "prism/compiler/exported.h"
+
+/**
+ * The major version of the Prism library as an int.
+ */
+#define PRISM_VERSION_MAJOR 1
+
+/**
+ * The minor version of the Prism library as an int.
+ */
+#define PRISM_VERSION_MINOR 9
+
+/**
+ * The patch version of the Prism library as an int.
+ */
+#define PRISM_VERSION_PATCH 0
+
+/**
+ * The version of the Prism library as a constant string.
+ */
+#define PRISM_VERSION "1.9.0"
+
+/**
+ * The prism version and the serialization format.
+ *
+ * @returns The prism version as a constant string.
+ */
+PRISM_EXPORTED_FUNCTION const char * pm_version(void);
+
+#endif