From 5916f7064093938ca6b8e989c207ce8d976163f1 Mon Sep 17 00:00:00 2001 From: Max Bruckner Date: Sat, 1 Apr 2017 22:56:04 +0200 Subject: [PATCH] cJSON.h: Deprecate valueint --- cJSON.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cJSON.h b/cJSON.h index 2f72f8a..b649598 100644 --- a/cJSON.h +++ b/cJSON.h @@ -63,7 +63,7 @@ typedef struct cJSON /* The item's string, if type==cJSON_String and type == cJSON_Raw */ char *valuestring; - /* The item's number, if type==cJSON_Number */ + /* DEPRECATED, use valuedouble instead */ int valueint; /* The item's number, if type==cJSON_Number */ double valuedouble;