summaryrefslogtreecommitdiff
path: root/yajl/yajl_version.h
diff options
context:
space:
mode:
Diffstat (limited to 'yajl/yajl_version.h')
-rw-r--r--yajl/yajl_version.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/yajl/yajl_version.h b/yajl/yajl_version.h
new file mode 100644
index 0000000..f7354d0
--- /dev/null
+++ b/yajl/yajl_version.h
@@ -0,0 +1,23 @@
+#ifndef YAJL_VERSION_H_
+#define YAJL_VERSION_H_
+
+#include "yajl_common.h"
+
+#define YAJL_MAJOR 2
+#define YAJL_MINOR 1
+#define YAJL_MICRO 0
+
+#define YAJL_VERSION ((YAJL_MAJOR * 10000) + (YAJL_MINOR * 100) + YAJL_MICRO)
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+extern int YAJL_API yajl_version(void);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* YAJL_VERSION_H_ */
+