Browse Source

New Type: cJSON_Invalid

This assigns the macro cJSON_Invalid to 0.
Max Bruckner 8 years ago
parent
commit
cf48ea8175
1 changed files with 1 additions and 0 deletions
  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)