Enum en(n.name);
load_sub(en);
Type &type = obj.add_type(n.name, Type::ENUM);
+ type.set_cpp_type(join(mod.name_space, "::", type.get_cpp_type()));
type.set_enum(*mod.enums.emplace_back(make_unique<Enum>(move(en))));
}
Struct sct(n.name+"Setup", kind);
load_sub(sct, obj);
Type &type = obj.add_type(n.name, Type::STRUCT);
+ type.set_cpp_type(join(mod.name_space, "::", type.get_cpp_type()));
type.set_struct(*mod.structs.emplace_back(make_unique<Struct>(move(sct))));
}