瀏覽代碼

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)