mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-02 16:35:40 +02:00
Match documented function names
This commit is contained in:
+4
-4
@@ -1,8 +1,8 @@
|
||||
typedef enum json_type {
|
||||
// These types can be returned by json_parse()
|
||||
// These types can be returned by json_read()
|
||||
JSON_HASH, JSON_ARRAY, JSON_NUMBER, JSON_STRING, JSON_TRUE, JSON_FALSE, JSON_NULL,
|
||||
|
||||
// These and JSON_HASH and JSON_ARRAY can be called back by json_parse_with_separators()
|
||||
// These and JSON_HASH and JSON_ARRAY can be called back by json_read_with_separators()
|
||||
JSON_COMMA, JSON_COLON,
|
||||
|
||||
// These are only used internally as expectations of what comes next
|
||||
@@ -43,8 +43,8 @@ json_pull *json_begin_file(FILE *f);
|
||||
json_pull *json_begin_string(char *s);
|
||||
json_pull *json_begin(int (*read)(struct json_pull *), int (*peek)(struct json_pull *), void *source);
|
||||
|
||||
json_object *json_parse(json_pull *j);
|
||||
json_object *json_parse_with_separators(json_pull *j, json_separator_callback cb, void *state);
|
||||
json_object *json_read(json_pull *j);
|
||||
json_object *json_read_with_separators(json_pull *j, json_separator_callback cb, void *state);
|
||||
void json_free(json_object *j);
|
||||
|
||||
json_object *json_hash_get(json_object *o, char *s);
|
||||
|
||||
Reference in New Issue
Block a user