summaryrefslogtreecommitdiff
path: root/json.h
diff options
context:
space:
mode:
Diffstat (limited to 'json.h')
-rw-r--r--json.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/json.h b/json.h
index bd0d46e5..0e830dce 100644
--- a/json.h
+++ b/json.h
@@ -5,15 +5,10 @@
#include <ctype.h>
typedef enum {integer, real, string, boolean,
- flags, object, structobject, array, check} json_type;
+ object, structobject, array, check} json_type;
#define nullbool -1 /* not true, not false */
-struct json_enum_t {
- char *name;
- int mask;
-};
-
struct json_array_t {
json_type element_type;
union {
@@ -27,10 +22,6 @@ struct json_array_t {
char *store;
int storelen;
} strings;
- struct {
- const struct json_enum_t *map;
- int *bits;
- } flags;
} arr;
int *count, maxlen;
};