Update tiny-json.h

Replaced keyword in struct jsonPool_s to fix error in Visual Studio
This commit is contained in:
Jürgen Eidt 2018-12-26 13:05:35 -08:00 committed by GitHub
parent 1d599e855b
commit f59ab0a051
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -156,7 +156,7 @@ static inline double json_getReal( json_t const* property ) {
typedef struct jsonPool_s jsonPool_t;
struct jsonPool_s {
json_t* (*init)( jsonPool_t* pool );
json_t* (*new)( jsonPool_t* pool );
json_t* (*alloc)( jsonPool_t* pool );
};
/** Parse a string to get a json.