mirror of
https://github.com/lua/lua.git
synced 2025-01-28 06:03:00 +08:00
Roberto Ierusalimschy
7696c6474f
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".)
Description
No description provided
Languages
C
67.4%
Lua
32%
Makefile
0.6%