toml parser update + 'toml' module is built-in now
This commit is contained in:
+5
-2
@@ -1,6 +1,7 @@
|
||||
#ifndef CODERS_TOML_HPP_
|
||||
#define CODERS_TOML_HPP_
|
||||
|
||||
#include "../data/dynamic.hpp"
|
||||
#include "commons.hpp"
|
||||
|
||||
#include <string>
|
||||
@@ -9,11 +10,13 @@ class SettingsHandler;
|
||||
|
||||
namespace toml {
|
||||
std::string stringify(SettingsHandler& handler);
|
||||
std::string stringify(dynamic::Map& root);
|
||||
dynamic::Map_sptr parse(std::string_view file, std::string_view source);
|
||||
|
||||
void parse(
|
||||
SettingsHandler& handler,
|
||||
const std::string& file,
|
||||
const std::string& source
|
||||
std::string_view file,
|
||||
std::string_view source
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user