Ver Fonte

New Type: cJSON_Invalid

This assigns the macro cJSON_Invalid to 0.
Max Bruckner há 8 anos atrás
pai
commit
cf48ea8175
1 ficheiros alterados com 1 adições e 0 exclusões
  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)