mirror of
https://github.com/lua/lua
synced 2025-03-23 06:02:56 +03:00

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.3%
Lua
32.1%
Makefile
0.6%