From 76da2875eb2af9f8191c2adf4f9663ac3a2cec89 Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Mon, 28 Oct 2024 17:57:31 +0100 Subject: Renamed allocator.h → allocator.hpp, cancel.h → cancel.hpp, keeper.h → keeper.hpp, tools.h → tools.hpp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/tools.h | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 src/tools.h (limited to 'src/tools.h') diff --git a/src/tools.h b/src/tools.h deleted file mode 100644 index c587500..0000000 --- a/src/tools.h +++ /dev/null @@ -1,37 +0,0 @@ -#pragma once - -#include "uniquekey.hpp" - -class Universe; - -enum class LookupMode -{ - LaneBody, // send the lane body directly from the source to the destination lane. keep this one first so that it's the value we get when we default-construct - ToKeeper, // send a function from a lane to a keeper state - FromKeeper // send a function from a keeper state to a lane -}; - -enum class FuncSubType -{ - Bytecode, - Native, - FastJIT -}; - -[[nodiscard]] FuncSubType luaG_getfuncsubtype(lua_State* L_, StackIndex i_); - -// ################################################################################################# - -// xxh64 of string "kConfigRegKey" generated at https://www.pelock.com/products/hash-calculator -static constexpr RegistryUniqueKey kConfigRegKey{ 0x608379D20A398046ull }; // registry key to access the configuration - -// xxh64 of string "kLookupRegKey" generated at https://www.pelock.com/products/hash-calculator -static constexpr RegistryUniqueKey kLookupRegKey{ 0xBF1FC5CF3C6DD47Bull }; // registry key to access the lookup database - -// ################################################################################################# - -namespace tools { - void PopulateFuncLookupTable(lua_State* L_, StackIndex i_, std::string_view const& name_); - [[nodiscard]] std::string_view PushFQN(lua_State* L_, StackIndex t_, int last_); - void SerializeRequire(lua_State* L_); -} // namespace tools -- cgit v1.2.3-55-g6feb