From e0236dc2c4fffab98b6ce4f7126c1b260b87416d Mon Sep 17 00:00:00 2001 From: Karol Łacina Date: Fri, 14 Mar 2025 19:20:44 +0100 Subject: Fix STACK_GROW under Clang --- src/macros_and_utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/macros_and_utils.h b/src/macros_and_utils.h index e184476..48ddba2 100644 --- a/src/macros_and_utils.h +++ b/src/macros_and_utils.h @@ -82,7 +82,7 @@ extern char const* debugspew_indent; #define ASSERT_L(c) _ASSERT_L(L,c) -inline void STACK_GROW(lua_State * L, int n_) +static inline void STACK_GROW(lua_State * L, int n_) { if (!lua_checkstack(L, n_)) luaL_error(L, "Cannot grow stack!"); -- cgit v1.2.3-55-g6feb