提交 3c1bfe12 编写于 作者: M Max Bruckner

Clarify deprecation of valueint

上级 5916f706
......@@ -207,7 +207,7 @@ typedef struct cJSON {
int type;
char *valuestring;
int valueint; /* DEPRECATED, please use valudouble instead */
int valueint; /* writing to valueint is DEPRECATED, please use cJSON_SetNumberValue instead */
double valuedouble;
char *string;
......
......@@ -63,7 +63,7 @@ typedef struct cJSON
/* The item's string, if type==cJSON_String and type == cJSON_Raw */
char *valuestring;
/* DEPRECATED, use valuedouble instead */
/* writing to valueint is DEPRECATED, use cJSON_SetNumberValue instead */
int valueint;
/* The item's number, if type==cJSON_Number */
double valuedouble;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册