aboutsummaryrefslogtreecommitdiff
path: root/src/state.h
blob: f809d50af43918fff8a98d47061f6ecab1cc3fb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once

#include "debugspew.h"
#include "macros_and_utils.h"

// forwards
enum class LookupMode;
class Universe;

namespace state {
    [[nodiscard]] lua_State* CreateState(Universe* U_, lua_State* from_, std::string_view const& hint_);
    [[nodiscard]] lua_State* NewLaneState(Universe* U_, SourceState from_, std::optional<std::string_view> const& libs_);
} // namespace state