aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarol Łacina <karol@lacina.io>2025-03-14 19:20:44 +0100
committerKarol Łacina <karol@lacina.io>2025-03-14 19:20:44 +0100
commite0236dc2c4fffab98b6ce4f7126c1b260b87416d (patch)
tree774f2923e088674a0643325cf618ada7136b61f7
parent1da69cc549f1a0d659a8d8158cd15591800b6933 (diff)
downloadlanes-e0236dc2c4fffab98b6ce4f7126c1b260b87416d.tar.gz
lanes-e0236dc2c4fffab98b6ce4f7126c1b260b87416d.tar.bz2
lanes-e0236dc2c4fffab98b6ce4f7126c1b260b87416d.zip
Fix STACK_GROW under Clang
-rw-r--r--src/macros_and_utils.h2
1 files changed, 1 insertions, 1 deletions
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;
82 82
83#define ASSERT_L(c) _ASSERT_L(L,c) 83#define ASSERT_L(c) _ASSERT_L(L,c)
84 84
85inline void STACK_GROW(lua_State * L, int n_) 85static inline void STACK_GROW(lua_State * L, int n_)
86{ 86{
87 if (!lua_checkstack(L, n_)) 87 if (!lua_checkstack(L, n_))
88 luaL_error(L, "Cannot grow stack!"); 88 luaL_error(L, "Cannot grow stack!");