summaryrefslogtreecommitdiff
path: root/json-c/src/json_c_version.c
diff options
context:
space:
mode:
Diffstat (limited to 'json-c/src/json_c_version.c')
-rw-r--r--json-c/src/json_c_version.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/json-c/src/json_c_version.c b/json-c/src/json_c_version.c
new file mode 100644
index 0000000..b6ded48
--- /dev/null
+++ b/json-c/src/json_c_version.c
@@ -0,0 +1,20 @@
+/*
+ * Copyright (c) 2012 Eric Haszlakiewicz
+ *
+ * This library is free software; you can redistribute it and/or modify
+ * it under the terms of the MIT license. See COPYING for details.
+ */
+#include "config.h"
+
+#include "json_c_version.h"
+
+const char *json_c_version(void)
+{
+ return JSON_C_VERSION;
+}
+
+int json_c_version_num(void)
+{
+ return JSON_C_VERSION_NUM;
+}
+