diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-11-26 14:16:17 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-11-26 14:16:17 -0200 |
commit | 7696c6474fe51ed59fee324e78c1233af74febdd (patch) | |
tree | d5e674cf214a14df38ca39b02177f5cea75b581c /lfunc.c | |
parent | 7e63d3da0240325db4011f5d2f2e8abfb5d60288 (diff) | |
download | lua-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