From 3b4848ca1c4ea40d0e052cdc81bb9f66ce882a8a Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Tue, 21 Oct 2025 16:10:13 +0200 Subject: Fix STACK_GROW under Clang Repeat change e0236dc2c4fffab98b6ce4f7126c1b260b87416d of C-implementation --- src/macros_and_utils.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/macros_and_utils.hpp b/src/macros_and_utils.hpp index 1aca818..9c50a3a 100644 --- a/src/macros_and_utils.hpp +++ b/src/macros_and_utils.hpp @@ -8,7 +8,7 @@ using namespace std::chrono_literals; // ################################################################################################# -inline void STACK_GROW(lua_State* const L_, int const n_) +static inline void STACK_GROW(lua_State* const L_, int const n_) { if (!lua_checkstack(L_, n_)) { raise_luaL_error(L_, "Cannot grow stack!"); -- cgit v1.2.3-55-g6feb