#ifndef _json_c_version_h_
#define _json_c_version_h_
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define JSON_C_MAJOR_VERSION 0
-#define JSON_C_MINOR_VERSION 13
-#define JSON_C_MICRO_VERSION 00
-#define JSON_C_VERSION_NUM ((JSON_C_MAJOR_VERSION << 16) | \
- (JSON_C_MINOR_VERSION << 8) | \
- JSON_C_MICRO_VERSION)
-#define JSON_C_VERSION "0.13"
+#define JSON_C_MINOR_VERSION 17
+#define JSON_C_MICRO_VERSION 0
+#define JSON_C_VERSION_NUM \
+ ((JSON_C_MAJOR_VERSION << 16) | (JSON_C_MINOR_VERSION << 8) | JSON_C_MICRO_VERSION)
+#define JSON_C_VERSION "0.17"
+
+#ifndef JSON_EXPORT
+#if defined(_MSC_VER) && defined(JSON_C_DLL)
+#define JSON_EXPORT __declspec(dllexport)
+#else
+#define JSON_EXPORT extern
+#endif
+#endif
/**
* @see JSON_C_VERSION
* @return the version of the json-c library as a string
*/
-const char *json_c_version(void); /* Returns JSON_C_VERSION */
+JSON_EXPORT const char *json_c_version(void); /* Returns JSON_C_VERSION */
/**
* The json-c version encoded into an int, with the low order 8 bits
* @see JSON_C_VERSION_NUM
* @return the version of the json-c library as an int
*/
-int json_c_version_num(void); /* Returns JSON_C_VERSION_NUM */
+JSON_EXPORT int json_c_version_num(void); /* Returns JSON_C_VERSION_NUM */
+
+#ifdef __cplusplus
+}
+#endif
#endif