1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-16 07:10:08 +00:00
OpenMW/components/lua/yamlloader.hpp

17 lines
355 B
C++
Raw Normal View History

2024-03-05 06:07:35 +00:00
#ifndef COMPONENTS_LUA_YAMLLOADER_H
#define COMPONENTS_LUA_YAMLLOADER_H
2024-03-17 14:15:23 +00:00
#include <iosfwd>
#include <string>
#include <sol/forward.hpp>
2024-03-05 06:07:35 +00:00
namespace LuaUtil
{
2024-03-17 14:15:23 +00:00
sol::object loadYaml(const std::string& input, const sol::state_view& lua);
2024-03-05 06:07:35 +00:00
2024-03-17 14:15:23 +00:00
sol::object loadYaml(std::istream& input, const sol::state_view& lua);
2024-03-05 06:07:35 +00:00
}
#endif // COMPONENTS_LUA_YAMLLOADER_H