aboutsummaryrefslogtreecommitdiff
path: root/ltests.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2023-05-02 16:41:43 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2023-05-02 16:41:43 -0300
commit6443185167c77adcc8552a3fee7edab7895db1a9 (patch)
tree20add1421687313b7dcb4b9481771ed60d21d3c5 /ltests.c
parente15f1f2bb7a38a3c94519294d031e48508d65006 (diff)
downloadlua-6443185167c77adcc8552a3fee7edab7895db1a9.tar.gz
lua-6443185167c77adcc8552a3fee7edab7895db1a9.tar.bz2
lua-6443185167c77adcc8552a3fee7edab7895db1a9.zip
"Emergency" new version 5.4.6v5.4.6
'lua_resetthread' is back to its original signature, to avoid incompatibilities in the ABI between releases of the same version. New function 'lua_closethread' added with the "correct" signature.
Diffstat (limited to 'ltests.c')
-rw-r--r--ltests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ltests.c b/ltests.c
index 4a0a6af1..7d184c0d 100644
--- a/ltests.c
+++ b/ltests.c
@@ -1533,7 +1533,7 @@ static int runC (lua_State *L, lua_State *L1, const char *pc) {
1533 lua_newthread(L1); 1533 lua_newthread(L1);
1534 } 1534 }
1535 else if EQ("resetthread") { 1535 else if EQ("resetthread") {
1536 lua_pushinteger(L1, lua_resetthread(L1, L)); 1536 lua_pushinteger(L1, lua_resetthread(L1)); /* deprecated */
1537 } 1537 }
1538 else if EQ("newuserdata") { 1538 else if EQ("newuserdata") {
1539 lua_newuserdata(L1, getnum); 1539 lua_newuserdata(L1, getnum);