Преглед изворни кода

New Type: cJSON_Invalid

This assigns the macro cJSON_Invalid to 0.
Max Bruckner пре 8 година
родитељ
комит
cf48ea8175
1 измењених фајлова са 1 додато и 0 уклоњено
  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)