aboutsummaryrefslogtreecommitdiff
path: root/lfunc.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-11-26 14:16:17 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-11-26 14:16:17 -0200
commit7696c6474fe51ed59fee324e78c1233af74febdd (patch)
treed5e674cf214a14df38ca39b02177f5cea75b581c /lfunc.c
parent7e63d3da0240325db4011f5d2f2e8abfb5d60288 (diff)
downloadlua-7696c6474fe51ed59fee324e78c1233af74febdd.tar.gz
lua-7696c6474fe51ed59fee324e78c1233af74febdd.tar.bz2
lua-7696c6474fe51ed59fee324e78c1233af74febdd.zip
Auxiliary buffer cannot close box with 'lua_remove'
To remove a to-be-closed variable from the stack in the C API a function must use 'lua_settop' or 'lua_pop'. Previous implementation of 'luaL_pushresult' was not closing the box. (This commit also added tests to check that box is being closed "as soon as possible".)
Diffstat (limited to 'lfunc.c')
0 files changed, 0 insertions, 0 deletions