aboutsummaryrefslogtreecommitdiff
path: root/src/macros_and_utils.h
diff options
context:
space:
mode:
authorBenoit Germain <bnt.germain@gmail.com>2025-03-18 15:38:06 +0100
committerGitHub <noreply@github.com>2025-03-18 15:38:06 +0100
commitb68ce05ba6cb5103951acb345b1121c4de2fee70 (patch)
tree774f2923e088674a0643325cf618ada7136b61f7 /src/macros_and_utils.h
parent1da69cc549f1a0d659a8d8158cd15591800b6933 (diff)
parente0236dc2c4fffab98b6ce4f7126c1b260b87416d (diff)
downloadlanes-C-Implementation.tar.gz
lanes-C-Implementation.tar.bz2
lanes-C-Implementation.zip
Merge pull request #235 from digitcrusher/C-ImplementationC-Implementation
Fix STACK_GROW under Clang
Diffstat (limited to 'src/macros_and_utils.h')
-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!");