Explorar o código

cJSON.h: Deprecate valueint

Max Bruckner %!s(int64=8) %!d(string=hai) anos
pai
achega
5916f70640
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;