From 16b5070c0cd56e10c5074eb9903dbc3ae4e15a61 Mon Sep 17 00:00:00 2001
From: Benoit Germain <benoit.germain@ubisoft.com>
Date: Tue, 8 Oct 2024 18:42:39 +0200
Subject: Sprinkling StackIndex all over the place

---
 src/tools.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src/tools.h')

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
     FastJIT
 };
 
-[[nodiscard]] FuncSubType luaG_getfuncsubtype(lua_State* L_, int i_);
+[[nodiscard]] FuncSubType luaG_getfuncsubtype(lua_State* L_, StackIndex i_);
 
 // #################################################################################################
 
@@ -31,7 +31,7 @@ static constexpr RegistryUniqueKey kLookupRegKey{ 0xBF1FC5CF3C6DD47Bull }; // re
 // #################################################################################################
 
 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 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