aboutsummaryrefslogtreecommitdiff
path: root/src/lindafactory.cpp
diff options
context:
space:
mode:
authorBenoit Germain <benoit.germain@ubisoft.com>2025-04-15 18:21:41 +0200
committerBenoit Germain <benoit.germain@ubisoft.com>2025-04-15 18:21:41 +0200
commit1bff784b474261212a996ac9fc59389d53a69590 (patch)
tree5fb048bcc6963fabbce57a6f8e7ec351bed6f828 /src/lindafactory.cpp
parent706d064e17d19c888c6d1e4d404ad34ac808589c (diff)
downloadlanes-1bff784b474261212a996ac9fc59389d53a69590.tar.gz
lanes-1bff784b474261212a996ac9fc59389d53a69590.tar.bz2
lanes-1bff784b474261212a996ac9fc59389d53a69590.zip
Linda batched mode rework
* linda.batched special value is removed * new function linda:receive_batched
Diffstat (limited to 'src/lindafactory.cpp')
-rw-r--r--src/lindafactory.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lindafactory.cpp b/src/lindafactory.cpp
index 6e3f759..42d0984 100644
--- a/src/lindafactory.cpp
+++ b/src/lindafactory.cpp
@@ -53,10 +53,6 @@ void LindaFactory::createMetatable(lua_State* L_) const
53 // the linda functions 53 // the linda functions
54 luaG_registerlibfuncs(L_, mLindaMT); 54 luaG_registerlibfuncs(L_, mLindaMT);
55 55
56 // some constants
57 kLindaBatched.pushKey(L_); // L_: mt kLindaBatched
58 lua_setfield(L_, -2, "batched"); // L_: mt
59
60 kNilSentinel.pushKey(L_); // L_: mt kNilSentinel 56 kNilSentinel.pushKey(L_); // L_: mt kNilSentinel
61 lua_setfield(L_, -2, "null"); // L_: mt 57 lua_setfield(L_, -2, "null"); // L_: mt
62 58