lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Great, thanks Roberto,
 
> eventually collected, provided you removed
> from the stack the result from
> 'luaL_loadfile()' after calling
> 'lua_pcall()'.

Do I have to remove anything from the stack ?
As per the manual (https://www.lua.org/manual/5.1/manual.html#lua_pcall), "lua_pcall always removes the function and its arguments from the stack"
So I guessed everything is cleaned up, no ?