Pārlūkot izejas kodu

New Type: cJSON_Invalid

This assigns the macro cJSON_Invalid to 0.
Max Bruckner 8 gadi atpakaļ
vecāks
revīzija
cf48ea8175
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      cJSON.h

+ 1 - 0
cJSON.h

@@ -39,6 +39,7 @@ extern const char* cJSON_Version(void);
 #include <stddef.h>
 
 /* cJSON Types: */
+#define cJSON_Invalid (0)
 #define cJSON_False  (1 << 0)
 #define cJSON_True   (1 << 1)
 #define cJSON_NULL   (1 << 2)