aboutsummaryrefslogtreecommitdiff
path: root/src/state.hpp
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2024-10-28 18:16:00 +0100
committerBenoit Germain <benoit.germain@ubisoft.com>2024-10-28 18:16:00 +0100
commit69c6796fb1356d78be8fefa93a80b30295b6bb54 (patch)
tree4ca567c7f2c0759d3da5748ebfd04c8f972bfd68 /src/state.hpp
parent0d757e1dcf3cf1518ae2fce9e8864dcc55d14d3a (diff)
downloadlanes-69c6796fb1356d78be8fefa93a80b30295b6bb54.tar.gz
lanes-69c6796fb1356d78be8fefa93a80b30295b6bb54.tar.bz2
lanes-69c6796fb1356d78be8fefa93a80b30295b6bb54.zip
Renamed intercopycontext.h → intercopycontext.hpp, state.h → state.hpp
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