File LuaValue.hpp¶
File List > Engine > include > Scripting > LuaAPI > Internal > LuaValue.hpp
Go to the documentation of this file
#ifndef ENGINE_SCRIPTING_LUAAPI_INTERNAL_LUAVALUE_HPP_
#define ENGINE_SCRIPTING_LUAAPI_INTERNAL_LUAVALUE_HPP_
#include <glaze/glaze.hpp>
#include <set>
#include <sol/sol.hpp>
namespace Engine::LuaAPI::Internal {
glz::generic LuaToGeneric(const sol::object& obj, std::set<const void*>& seen, int depth = 0);
sol::object GenericToLua(sol::state_view lua, const glz::generic& value);
} // namespace Engine::LuaAPI::Internal
#endif // ENGINE_SCRIPTING_LUAAPI_INTERNAL_LUAVALUE_HPP_