ソースを参照

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;