refactor: move out clean_parsed funcs to config::

This commit is contained in:
3lswear
2022-02-19 13:51:20 +03:00
parent f719502237
commit cd87725f38
3 changed files with 117 additions and 105 deletions

View File

@@ -7,5 +7,12 @@ typedef std::map<std::string, toml_node *> TOMLMap; // = JSONObject
typedef std::vector<TOMLMap *> TOMLMapArray;
typedef std::vector<toml_node *> TOMLArray;
namespace config
{
void clean_parsed(TOMLMap *root);
void clean_generic(toml_node *node);
}
#endif