From 16b5070c0cd56e10c5074eb9903dbc3ae4e15a61 Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Tue, 8 Oct 2024 18:42:39 +0200 Subject: Sprinkling StackIndex all over the place --- src/deep.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/deep.h') diff --git a/src/deep.h b/src/deep.h index c4c6fd7..d919f64 100644 --- a/src/deep.h +++ b/src/deep.h @@ -66,11 +66,11 @@ class DeepFactory public: // NVI: public interface static void DeleteDeepObject(lua_State* L_, DeepPrelude* o_); - [[nodiscard]] static bool IsDeepUserdata(lua_State* const L_, int const idx_); - [[nodiscard]] static DeepFactory* LookupFactory(lua_State* L_, int index_, LookupMode mode_); + [[nodiscard]] static bool IsDeepUserdata(lua_State* const L_, StackIndex const idx_); + [[nodiscard]] static DeepFactory* LookupFactory(lua_State* L_, StackIndex index_, LookupMode mode_); static void PushDeepProxy(DestState L_, DeepPrelude* o_, int nuv_, LookupMode mode_, lua_State* errL_); void pushDeepUserdata(DestState L_, int nuv_) const; - [[nodiscard]] DeepPrelude* toDeep(lua_State* L_, int index_) const; + [[nodiscard]] DeepPrelude* toDeep(lua_State* L_, StackIndex index_) const; }; // ################################################################################################# -- cgit v1.2.3-55-g6feb