diff options
Diffstat (limited to 'src/keeper.h')
-rw-r--r-- | src/keeper.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/keeper.h b/src/keeper.h index bf1ba17..275d134 100644 --- a/src/keeper.h +++ b/src/keeper.h | |||
@@ -39,8 +39,8 @@ struct Keepers | |||
39 | // xxh64 of string "kNilSentinel" generated at https://www.pelock.com/products/hash-calculator | 39 | // xxh64 of string "kNilSentinel" generated at https://www.pelock.com/products/hash-calculator |
40 | static constexpr UniqueKey kNilSentinel{ 0xC457D4EDDB05B5E4ull, "lanes.null" }; | 40 | static constexpr UniqueKey kNilSentinel{ 0xC457D4EDDB05B5E4ull, "lanes.null" }; |
41 | 41 | ||
42 | void init_keepers(Universe* U, lua_State* L_); | 42 | void init_keepers(Universe* U_, lua_State* L_); |
43 | void close_keepers(Universe* U); | 43 | void close_keepers(Universe* U_); |
44 | 44 | ||
45 | void keeper_toggle_nil_sentinels(lua_State* L_, int start_, LookupMode const mode_); | 45 | void keeper_toggle_nil_sentinels(lua_State* L_, int start_, LookupMode const mode_); |
46 | [[nodiscard]] int keeper_push_linda_storage(Linda& linda_, DestState L_); | 46 | [[nodiscard]] int keeper_push_linda_storage(Linda& linda_, DestState L_); |
@@ -59,4 +59,4 @@ using keeper_api_t = lua_CFunction; | |||
59 | [[nodiscard]] int keepercall_count(lua_State* L_); | 59 | [[nodiscard]] int keepercall_count(lua_State* L_); |
60 | 60 | ||
61 | using KeeperCallResult = Unique<std::optional<int>>; | 61 | using KeeperCallResult = Unique<std::optional<int>>; |
62 | [[nodiscard]] KeeperCallResult keeper_call(Universe* U, KeeperState K, keeper_api_t _func, lua_State* L_, void* linda, int starting_index); | 62 | [[nodiscard]] KeeperCallResult keeper_call(Universe* U_, KeeperState K_, keeper_api_t func_, lua_State* L_, void* linda_, int starting_index_); |