Move tilestats management out of parsing and into serialization

This commit is contained in:
Eric Fischer
2017-08-24 16:30:01 -07:00
parent ed8fbd0236
commit 34b1b215f4
4 changed files with 53 additions and 55 deletions
+1 -2
View File
@@ -16,7 +16,6 @@ struct parse_json_args {
int exclude_all;
int basezoom;
int layer;
std::map<std::string, layermap_entry> *layermap;
std::string *layername;
std::map<std::string, int> const *attribute_types;
bool want_dist;
@@ -27,7 +26,7 @@ struct parse_json_args {
struct json_pull *json_begin_map(char *map, long long len);
void json_end_map(struct json_pull *jp);
void parse_json(struct serialization_state *sst, json_pull *jp, std::set<std::string> *exclude, std::set<std::string> *include, int exclude_all, int basezoom, int layer, std::map<std::string, layermap_entry> *layermap, std::string layername, std::map<std::string, int> const *attribute_types);
void parse_json(struct serialization_state *sst, json_pull *jp, std::set<std::string> *exclude, std::set<std::string> *include, int exclude_all, int basezoom, int layer, std::string layername, std::map<std::string, int> const *attribute_types);
void *run_parse_json(void *v);
#endif