From 8745a54f88f31cd51dc86c96039ebe0b3e98f5ea Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Thu, 24 Oct 2024 10:33:02 +0200 Subject: Added strong types UserValueCount and UnusedInt --- src/deep.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/deep.h') diff --git a/src/deep.h b/src/deep.h index 8896698..0ea2712 100644 --- a/src/deep.h +++ b/src/deep.h @@ -68,8 +68,8 @@ class DeepFactory static void DeleteDeepObject(lua_State* L_, DeepPrelude* o_); [[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; + static void PushDeepProxy(DestState L_, DeepPrelude* o_, UserValueCount nuv_, LookupMode mode_, lua_State* errL_); + void pushDeepUserdata(DestState L_, UserValueCount nuv_) const; [[nodiscard]] DeepPrelude* toDeep(lua_State* L_, StackIndex index_) const; }; -- cgit v1.2.3-55-g6feb