From f59ab0a05138190d83288c87df20ea2b4658d324 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Eidt?= Date: Wed, 26 Dec 2018 13:05:35 -0800 Subject: [PATCH] Update tiny-json.h Replaced keyword in struct jsonPool_s to fix error in Visual Studio --- tiny-json.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tiny-json.h b/tiny-json.h index 2984558..d592a4a 100644 --- a/tiny-json.h +++ b/tiny-json.h @@ -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.