diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-06-03 17:48:07 +0200 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-06-03 17:48:07 +0200 |
commit | 2baf7a6e001951d08098149d80d7ce79e7035a16 (patch) | |
tree | b5dfa1ffddac0eaa29fdec5eda3c290b1e58c029 /src/intercopycontext.cpp | |
parent | 09635e063c007c4bda684ee21abb55c7470ee0e0 (diff) | |
download | lanes-2baf7a6e001951d08098149d80d7ce79e7035a16.tar.gz lanes-2baf7a6e001951d08098149d80d7ce79e7035a16.tar.bz2 lanes-2baf7a6e001951d08098149d80d7ce79e7035a16.zip |
New global setting "strip_functions"
Diffstat (limited to 'src/intercopycontext.cpp')
-rw-r--r-- | src/intercopycontext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intercopycontext.cpp b/src/intercopycontext.cpp index 3557c7b..07eea24 100644 --- a/src/intercopycontext.cpp +++ b/src/intercopycontext.cpp | |||
@@ -196,7 +196,7 @@ void InterCopyContext::copy_func() const | |||
196 | // not sure this could ever fail but for memory shortage reasons | 196 | // not sure this could ever fail but for memory shortage reasons |
197 | // last parameter is Lua 5.4-specific (no stripping) | 197 | // last parameter is Lua 5.4-specific (no stripping) |
198 | luaL_Buffer B{}; | 198 | luaL_Buffer B{}; |
199 | if (lua504_dump(L1, buf_writer, &B, 0) != 0) { | 199 | if (lua504_dump(L1, buf_writer, &B, U->stripFunctions) != 0) { |
200 | raise_luaL_error(getErrL(), "internal error: function dump failed."); | 200 | raise_luaL_error(getErrL(), "internal error: function dump failed."); |
201 | } | 201 | } |
202 | 202 | ||