aboutsummaryrefslogtreecommitdiff
path: root/src/state.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/state.hpp')
-rw-r--r--src/state.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/state.hpp b/src/state.hpp
index 7401fe9..1e1e1f5 100644
--- a/src/state.hpp
+++ b/src/state.hpp
@@ -4,11 +4,12 @@
4#include "macros_and_utils.hpp" 4#include "macros_and_utils.hpp"
5 5
6// forwards 6// forwards
7enum class LookupMode;
8class Universe; 7class Universe;
9 8
10namespace state { 9namespace state {
11 [[nodiscard]] lua_State* CreateState(Universe* U_, lua_State* from_, std::string_view const& hint_); 10 [[nodiscard]]
12 [[nodiscard]] lua_State* NewLaneState(Universe* U_, SourceState from_, std::optional<std::string_view> const& libs_); 11 lua_State* CreateState(Universe* U_, lua_State* from_, std::string_view const& hint_);
12 [[nodiscard]]
13 lua_State* NewLaneState(Universe* U_, SourceState from_, std::optional<std::string_view> const& libs_);
13 LUAG_FUNC(supported_libs); 14 LUAG_FUNC(supported_libs);
14} // namespace state 15} // namespace state