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