mirror of
https://github.com/felt/tippecanoe.git
synced 2026-10-04 09:25:41 +02:00
Keep track of the root of the parse tree for the caller
This commit is contained in:
+3
-1
@@ -18,13 +18,15 @@ typedef struct json_object {
|
||||
} json_object;
|
||||
|
||||
struct json_pull {
|
||||
json_object *container;
|
||||
json_object *root;
|
||||
char *error;
|
||||
|
||||
int (*read)(struct json_pull *);
|
||||
int (*peek)(struct json_pull *);
|
||||
void *source;
|
||||
int line;
|
||||
|
||||
json_object *container;
|
||||
};
|
||||
typedef struct json_pull json_pull;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user