diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-10-08 18:42:39 +0200 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-10-08 18:42:39 +0200 |
commit | 16b5070c0cd56e10c5074eb9903dbc3ae4e15a61 (patch) | |
tree | f6d5cdb74b505e13aa3261f7ab6192da0133b7b9 /src/tools.h | |
parent | e939e5e6a894a042d3301e47faa05264445f27f6 (diff) | |
download | lanes-16b5070c0cd56e10c5074eb9903dbc3ae4e15a61.tar.gz lanes-16b5070c0cd56e10c5074eb9903dbc3ae4e15a61.tar.bz2 lanes-16b5070c0cd56e10c5074eb9903dbc3ae4e15a61.zip |
Sprinkling StackIndex all over the place
Diffstat (limited to 'src/tools.h')
-rw-r--r-- | src/tools.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools.h b/src/tools.h index 5127ea0..34cbb8f 100644 --- a/src/tools.h +++ b/src/tools.h | |||
@@ -18,7 +18,7 @@ enum class FuncSubType | |||
18 | FastJIT | 18 | FastJIT |
19 | }; | 19 | }; |
20 | 20 | ||
21 | [[nodiscard]] FuncSubType luaG_getfuncsubtype(lua_State* L_, int i_); | 21 | [[nodiscard]] FuncSubType luaG_getfuncsubtype(lua_State* L_, StackIndex i_); |
22 | 22 | ||
23 | // ################################################################################################# | 23 | // ################################################################################################# |
24 | 24 | ||
@@ -31,7 +31,7 @@ static constexpr RegistryUniqueKey kLookupRegKey{ 0xBF1FC5CF3C6DD47Bull }; // re | |||
31 | // ################################################################################################# | 31 | // ################################################################################################# |
32 | 32 | ||
33 | namespace tools { | 33 | namespace tools { |
34 | void PopulateFuncLookupTable(lua_State* const L_, int const i_, std::string_view const& name_); | 34 | void PopulateFuncLookupTable(lua_State* L_, StackIndex i_, std::string_view const& name_); |
35 | [[nodiscard]] std::string_view PushFQN(lua_State* L_, int t_, int last_); | 35 | [[nodiscard]] std::string_view PushFQN(lua_State* L_, StackIndex t_, int last_); |
36 | void SerializeRequire(lua_State* L_); | 36 | void SerializeRequire(lua_State* L_); |
37 | } // namespace tools | 37 | } // namespace tools |