mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
21 lines
500 B
C++
21 lines
500 B
C++
#ifndef CODERS_TOML_HPP_
|
|
#define CODERS_TOML_HPP_
|
|
|
|
#include "../data/dynamic.hpp"
|
|
#include <string>
|
|
|
|
class SettingsHandler;
|
|
|
|
namespace toml {
|
|
std::string stringify(SettingsHandler& handler);
|
|
std::string stringify(dynamic::Map& root, const std::string& name="");
|
|
dynamic::Map_sptr parse(std::string_view file, std::string_view source);
|
|
|
|
void parse(
|
|
SettingsHandler& handler,
|
|
std::string_view file,
|
|
std::string_view source
|
|
);
|
|
}
|
|
|
|
#endif // CODERS_TOML_HPP_
|