diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2023-05-02 16:41:43 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2023-05-02 16:41:43 -0300 |
commit | 6443185167c77adcc8552a3fee7edab7895db1a9 (patch) | |
tree | 20add1421687313b7dcb4b9481771ed60d21d3c5 /ltests.c | |
parent | e15f1f2bb7a38a3c94519294d031e48508d65006 (diff) | |
download | lua-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |