diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-08-19 00:00:17 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-08-19 00:00:17 +0000 |
commit | 276ffa0a53aae3fe555bdcbf98c4007120a2f0e3 (patch) | |
tree | 946d16a515f845adac66db11c17faf1feee93fe0 /json.h | |
parent | 725d92318b10e1d29e57977125974f59d5612f7f (diff) | |
download | gpsd-276ffa0a53aae3fe555bdcbf98c4007120a2f0e3.tar.gz |
Checkpoint before giving the JSON parses a notion of enumerated types.
Diffstat (limited to 'json.h')
-rw-r--r-- | json.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -43,8 +43,8 @@ struct json_attr_t { } dflt; }; -#define JSON_ATTR_MAX 31 /* max charss in JSON attribute name */ -#define JSON_VAL_MAX 63 /* max charss in JSON value part */ +#define JSON_ATTR_MAX 31 /* max chars in JSON attribute name */ +#define JSON_VAL_MAX 63 /* max chars in JSON value part */ int json_read_object(const char *, const struct json_attr_t *, int, const char **end); int json_read_array(const char *, const struct json_array_t *, const char **); |