diff options
| author | Benoit Germain <benoit.germain@ubisoft.com> | 2025-10-21 16:10:13 +0200 |
|---|---|---|
| committer | Benoit Germain <benoit.germain@ubisoft.com> | 2025-10-21 16:10:13 +0200 |
| commit | 3b4848ca1c4ea40d0e052cdc81bb9f66ce882a8a (patch) | |
| tree | f536a843d78b1fdd2e49bc57fbb8a7f4d967460c | |
| parent | ae43a00657a6505910010bdf920c9c0f4823a9c0 (diff) | |
| download | lanes-3b4848ca1c4ea40d0e052cdc81bb9f66ce882a8a.tar.gz lanes-3b4848ca1c4ea40d0e052cdc81bb9f66ce882a8a.tar.bz2 lanes-3b4848ca1c4ea40d0e052cdc81bb9f66ce882a8a.zip | |
Fix STACK_GROW under Clang
Repeat change e0236dc2c4fffab98b6ce4f7126c1b260b87416d of C-implementation
| -rw-r--r-- | src/macros_and_utils.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; | |||
| 8 | 8 | ||
| 9 | // ################################################################################################# | 9 | // ################################################################################################# |
| 10 | 10 | ||
| 11 | inline void STACK_GROW(lua_State* const L_, int const n_) | 11 | static inline void STACK_GROW(lua_State* const L_, int const n_) |
| 12 | { | 12 | { |
| 13 | if (!lua_checkstack(L_, n_)) { | 13 | if (!lua_checkstack(L_, n_)) { |
| 14 | raise_luaL_error(L_, "Cannot grow stack!"); | 14 | raise_luaL_error(L_, "Cannot grow stack!"); |
