diff options
Diffstat (limited to '')
-rw-r--r-- | src/tools.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/tools.hpp b/src/tools.hpp index 77ba5d2..9a62cda 100644 --- a/src/tools.hpp +++ b/src/tools.hpp | |||
@@ -13,14 +13,13 @@ enum class LookupMode | |||
13 | 13 | ||
14 | // ################################################################################################# | 14 | // ################################################################################################# |
15 | 15 | ||
16 | enum class FuncSubType | 16 | enum class [[nodiscard]] FuncSubType |
17 | { | 17 | { |
18 | Bytecode, | 18 | Bytecode, |
19 | Native, | 19 | Native, |
20 | FastJIT | 20 | FastJIT |
21 | }; | 21 | }; |
22 | 22 | ||
23 | [[nodiscard]] | ||
24 | FuncSubType luaG_getfuncsubtype(lua_State* L_, StackIndex i_); | 23 | FuncSubType luaG_getfuncsubtype(lua_State* L_, StackIndex i_); |
25 | 24 | ||
26 | // ################################################################################################# | 25 | // ################################################################################################# |
@@ -36,6 +35,6 @@ static constexpr RegistryUniqueKey kLookupRegKey{ 0xBF1FC5CF3C6DD47Bull }; // re | |||
36 | namespace tools { | 35 | namespace tools { |
37 | void PopulateFuncLookupTable(lua_State* L_, StackIndex i_, std::string_view const& name_); | 36 | void PopulateFuncLookupTable(lua_State* L_, StackIndex i_, std::string_view const& name_); |
38 | [[nodiscard]] | 37 | [[nodiscard]] |
39 | std::string_view PushFQN(lua_State* L_, StackIndex t_, int last_); | 38 | std::string_view PushFQN(lua_State* L_, StackIndex t_, TableIndex last_); |
40 | void SerializeRequire(lua_State* L_); | 39 | void SerializeRequire(lua_State* L_); |
41 | } // namespace tools | 40 | } // namespace tools |