فهرست منبع

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 */
     /* The item's string, if type==cJSON_String  and type == cJSON_Raw */
     char *valuestring;
     char *valuestring;
-    /* The item's number, if type==cJSON_Number */
+    /* DEPRECATED, use valuedouble instead */
     int valueint;
     int valueint;
     /* The item's number, if type==cJSON_Number */
     /* The item's number, if type==cJSON_Number */
     double valuedouble;
     double valuedouble;