From 4007dbf5a2262a7c4f2f26089071942dde7c3a91 Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Wed, 29 May 2024 14:27:17 +0200 Subject: Moved implementation of lanes.nameof in a separate file --- src/tools.h | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'src/tools.h') diff --git a/src/tools.h b/src/tools.h index 3659b42..e240fdb 100644 --- a/src/tools.h +++ b/src/tools.h @@ -22,18 +22,16 @@ enum class FuncSubType // ################################################################################################# -[[nodiscard]] int luaG_nameof(lua_State* L_); - -void populate_func_lookup_table(lua_State* const L_, int const i_, std::string_view const& name_); - -namespace tools { - void SerializeRequire(lua_State* L_); -} // namespace tools - -// ################################################################################################# - // 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* const L_, int const i_, std::string_view const& name_); + [[nodiscard]] std::string_view PushFQN(lua_State* L_, int t_, int last_); + void SerializeRequire(lua_State* L_); +} // namespace tools -- cgit v1.2.3-55-g6feb