diff options
Diffstat (limited to '')
-rw-r--r-- | src/intercopycontext.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intercopycontext.cpp b/src/intercopycontext.cpp index 34a1c95..85c1ebb 100644 --- a/src/intercopycontext.cpp +++ b/src/intercopycontext.cpp | |||
@@ -193,7 +193,7 @@ void InterCopyContext::copyFunction() const | |||
193 | // "value returned is the error code returned by the last call | 193 | // "value returned is the error code returned by the last call |
194 | // to the writer" (and we only return 0) | 194 | // to the writer" (and we only return 0) |
195 | // not sure this could ever fail but for memory shortage reasons | 195 | // not sure this could ever fail but for memory shortage reasons |
196 | // last parameter is Lua 5.4-specific (no stripping) | 196 | // last argument is Lua 5.4-specific (no stripping) |
197 | luaL_Buffer B{}; | 197 | luaL_Buffer B{}; |
198 | if (luaG_dump(L1, buf_writer, &B, U->stripFunctions) != 0) { | 198 | if (luaG_dump(L1, buf_writer, &B, U->stripFunctions) != 0) { |
199 | raise_luaL_error(getErrL(), "internal error: function dump failed."); | 199 | raise_luaL_error(getErrL(), "internal error: function dump failed."); |
@@ -482,7 +482,7 @@ void InterCopyContext::interCopyKeyValuePair() const | |||
482 | return; | 482 | return; |
483 | // we could raise an error instead of ignoring the table entry, like so: | 483 | // we could raise an error instead of ignoring the table entry, like so: |
484 | // raise_luaL_error(L1, "Unable to copy %s key '%s' because of value is of type '%s'", (vt == VT::NORMAL) ? "table" : "metatable", name, luaL_typename(L1, key_i)); | 484 | // raise_luaL_error(L1, "Unable to copy %s key '%s' because of value is of type '%s'", (vt == VT::NORMAL) ? "table" : "metatable", name, luaL_typename(L1, key_i)); |
485 | // maybe offer this possibility as a global configuration option, or a linda setting, or as a parameter of the call causing the transfer? | 485 | // maybe offer this possibility as a global configuration option, or a linda setting, or as a argument of the call causing the transfer? |
486 | } | 486 | } |
487 | 487 | ||
488 | char* _valPath{ nullptr }; | 488 | char* _valPath{ nullptr }; |