openmw/components/lua/yamlloader.hpp

17 lines
355 B
C++
Raw Permalink Normal View History

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