From 50f4c40bdb5667aa7053434dede2dd98f6f9e243 Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Fri, 14 Jun 2024 17:11:36 +0200 Subject: Wording fix: parameter → argument MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deep_test/deep_test.cpp | 2 +- deep_test/deeptest.lua | 2 +- docs/index.html | 12 ++++++------ make-vc.cmd | 2 +- src/cancel.cpp | 2 +- src/intercopycontext.cpp | 4 ++-- src/keeper.cpp | 4 ++-- src/lane.cpp | 2 +- src/lane.h | 2 +- src/lanes.cpp | 2 +- src/lanes.lua | 14 +++++++------- tests/argtable.lua | 8 ++++---- tests/assert.lua | 6 +++--- tests/cyclic.lua | 4 ++-- tests/finalizer.lua | 2 +- tests/objects.lua | 2 +- 16 files changed, 35 insertions(+), 35 deletions(-) diff --git a/deep_test/deep_test.cpp b/deep_test/deep_test.cpp index 7e16b2e..c071dc6 100644 --- a/deep_test/deep_test.cpp +++ b/deep_test/deep_test.cpp @@ -208,7 +208,7 @@ struct MyClonableUserdata return 0; default: - raise_luaL_error(L, "Lanes called clonable_lanesclone with unexpected parameters"); + raise_luaL_error(L, "Lanes called clonable_lanesclone with unexpected arguments"); } return 0; } diff --git a/deep_test/deeptest.lua b/deep_test/deeptest.lua index 1c34cf8..de282a1 100644 --- a/deep_test/deeptest.lua +++ b/deep_test/deeptest.lua @@ -78,7 +78,7 @@ local performTest = function( obj_) assert(_n == (_val2 and 2 or 1)) printDeep( "out of linda:", _val1, _val2) - -- send the object in a lane through parameter passing, the lane body returns it as return value, read the contents + -- send the object in a lane through argument passing, the lane body returns it as return value, read the contents local g = lanes.gen( "package" , { diff --git a/docs/index.html b/docs/index.html index 06ce610..defb0ad 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1137,7 +1137,7 @@

Communications between lanes is completely detached from the lane handles themselves. By itself, a lane can only provide return values once it is finished, or throw an error. Needs to communicate during runtime are handled by Linda objects, which are - deep userdata instances. They can be provided to a lane as startup parameters, upvalues or in some other Linda's message. + deep userdata instances. They can be provided to a lane as startup arguments, upvalues or in some other Linda's message.

@@ -1175,7 +1175,7 @@