diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-10-25 15:30:15 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-10-25 15:30:15 -0300 |
commit | 34840301b529686ce8168828b140a478a5d44b53 (patch) | |
tree | daceb3978c3d40fd135fb60e9e60dbff9a47731c /ltests.c | |
parent | 41c800b352149e037bdebd5f20d2f25ed2a0e2a5 (diff) | |
download | lua-34840301b529686ce8168828b140a478a5d44b53.tar.gz lua-34840301b529686ce8168828b140a478a5d44b53.tar.bz2 lua-34840301b529686ce8168828b140a478a5d44b53.zip |
To-be-closed variables in the C API
Diffstat (limited to 'ltests.c')
-rw-r--r-- | ltests.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1554,6 +1554,9 @@ static struct X { int x; } x; | |||
1554 | int i = getindex; | 1554 | int i = getindex; |
1555 | return lua_yieldk(L1, nres, i, Cfunck); | 1555 | return lua_yieldk(L1, nres, i, Cfunck); |
1556 | } | 1556 | } |
1557 | else if EQ("tobeclosed") { | ||
1558 | lua_tobeclosed(L); | ||
1559 | } | ||
1557 | else luaL_error(L, "unknown instruction %s", buff); | 1560 | else luaL_error(L, "unknown instruction %s", buff); |
1558 | } | 1561 | } |
1559 | return 0; | 1562 | return 0; |