aboutsummaryrefslogtreecommitdiff
path: root/src/keeper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/keeper.h')
-rw-r--r--src/keeper.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/keeper.h b/src/keeper.h
index 04bf834..e505361 100644
--- a/src/keeper.h
+++ b/src/keeper.h
@@ -7,9 +7,9 @@ class Linda;
7enum class LookupMode; 7enum class LookupMode;
8class Universe; 8class Universe;
9 9
10using KeeperState = Unique<lua_State*>; 10DECLARE_UNIQUE_TYPE(KeeperState,lua_State*);
11using LindaLimit = Unique<int>; 11DECLARE_UNIQUE_TYPE(LindaLimit, int);
12using KeeperIndex = Unique<int>; 12DECLARE_UNIQUE_TYPE(KeeperIndex, int);
13 13
14// ################################################################################################# 14// #################################################################################################
15 15
@@ -86,5 +86,5 @@ using keeper_api_t = lua_CFunction;
86[[nodiscard]] int keepercall_send(lua_State* L_); 86[[nodiscard]] int keepercall_send(lua_State* L_);
87[[nodiscard]] int keepercall_set(lua_State* L_); 87[[nodiscard]] int keepercall_set(lua_State* L_);
88 88
89using KeeperCallResult = Unique<std::optional<int>>; 89DECLARE_UNIQUE_TYPE(KeeperCallResult, std::optional<int>);
90[[nodiscard]] KeeperCallResult keeper_call(KeeperState K_, keeper_api_t func_, lua_State* L_, Linda* linda_, int starting_index_); 90[[nodiscard]] KeeperCallResult keeper_call(KeeperState K_, keeper_api_t func_, lua_State* L_, Linda* linda_, StackIndex starting_index_);