From ea290e120ee0069e0c4a983d49fb69fc942dc3f2 Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Wed, 9 Oct 2024 09:43:24 +0200 Subject: Improved Unique<> implementation, moved StackIndex into a separate header --- src/compat.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/compat.h') diff --git a/src/compat.h b/src/compat.h index 90e72a3..081e4c7 100644 --- a/src/compat.h +++ b/src/compat.h @@ -1,6 +1,7 @@ #pragma once #include "debug.h" +#include "stackindex.hpp" // try to detect if we are building against LuaJIT or MoonJIT #if defined(LUA_JITLIBNAME) @@ -32,10 +33,6 @@ // ################################################################################################# -static constexpr StackIndex kIdxRegistry{ LUA_REGISTRYINDEX }; - -// ################################################################################################# - // a strong-typed wrapper over lua types to see them easier in a debugger enum class LuaType { -- cgit v1.2.3-55-g6feb