aboutsummaryrefslogtreecommitdiff
path: root/src/intercopycontext.cpp
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2024-06-14 17:11:36 +0200
committerBenoit Germain <benoit.germain@ubisoft.com>2024-06-14 17:11:36 +0200
commit50f4c40bdb5667aa7053434dede2dd98f6f9e243 (patch)
treec443c9337e238ff2825b2da4c9749fdf97aa574f /src/intercopycontext.cpp
parentec8574d298ef302bc4162d9b394e96bf08763632 (diff)
downloadlanes-50f4c40bdb5667aa7053434dede2dd98f6f9e243.tar.gz
lanes-50f4c40bdb5667aa7053434dede2dd98f6f9e243.tar.bz2
lanes-50f4c40bdb5667aa7053434dede2dd98f6f9e243.zip
Wording fix: parameter → argument
Diffstat (limited to 'src/intercopycontext.cpp')
-rw-r--r--src/intercopycontext.cpp4
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 };