More structure initializers

This commit is contained in:
Eric Fischer
2017-11-07 15:20:17 -08:00
parent 891f99f24c
commit ba62ab8596
10 changed files with 146 additions and 135 deletions
+6 -6
View File
@@ -10,13 +10,13 @@
#include "serial.hpp"
struct parse_json_args {
json_pull *jp;
int layer;
std::string *layername;
std::map<std::string, int> const *attribute_types;
bool want_dist;
json_pull *jp = NULL;
int layer = 0;
std::string *layername = NULL;
std::map<std::string, int> const *attribute_types = NULL;
bool want_dist = false;
struct serialization_state *sst;
struct serialization_state *sst = NULL;
};
struct json_pull *json_begin_map(char *map, long long len);