Explorar o código

New Type: cJSON_Invalid

This assigns the macro cJSON_Invalid to 0.
Max Bruckner %!s(int64=8) %!d(string=hai) anos
pai
achega
cf48ea8175
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      cJSON.h

+ 1 - 0
cJSON.h

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