diff options
author | Benoit Germain <bnt.germain@gmail.com> | 2025-03-18 15:38:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-18 15:38:06 +0100 |
commit | b68ce05ba6cb5103951acb345b1121c4de2fee70 (patch) | |
tree | 774f2923e088674a0643325cf618ada7136b61f7 /src | |
parent | 1da69cc549f1a0d659a8d8158cd15591800b6933 (diff) | |
parent | e0236dc2c4fffab98b6ce4f7126c1b260b87416d (diff) | |
download | lanes-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 '')
-rw-r--r-- | src/macros_and_utils.h | 2 |
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 | ||
85 | inline void STACK_GROW(lua_State * L, int n_) | 85 | static 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!"); |