Add a json_c_version.h header (included from json.h), and several macros and functions for retrieving the json-c version at compile-time and run-time.

This commit is contained in:
Eric Haszlakiewicz
2012-12-23 10:57:44 -06:00
parent d7de3aa24b
commit 1461b49385
4 changed files with 45 additions and 0 deletions

1
json.h
View File

@@ -25,6 +25,7 @@ extern "C" {
#include "json_object.h"
#include "json_tokener.h"
#include "json_object_iterator.h"
#include "json_c_version.h"
#ifdef __cplusplus
}