Add includes and split off json_types.h to help ensure that headers can be included in any order.

This commit is contained in:
Eric Haszlakiewicz
2020-04-06 13:55:27 +00:00
parent 5e19c26cae
commit 19bbf2c069
8 changed files with 92 additions and 60 deletions

View File

@@ -23,6 +23,10 @@ extern "C" {
/**< how many bytes are directly stored in json_object for strings? */
#define LEN_DIRECT_STRING_DATA 32
struct json_object;
#include "json_inttypes.h"
#include "json_types.h"
typedef void(json_object_private_delete_fn)(struct json_object *o);
/* json object int type, support extension*/