瀏覽代碼

cJSON.h: Deprecate valueint

Max Bruckner 8 年之前
父節點
當前提交
5916f70640
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      cJSON.h

+ 1 - 1
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;