[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Multiple luaL_loadfile()/lua_pcall() and persistance
- From: Laurent FAILLIE <l_faillie@...>
- Date: Mon, 23 Jul 2018 13:10:09 +0000 (UTC)
Great, thanks Roberto,
> eventually collected, provided you removed
> from the stack the result from
> 'luaL_loadfile()' after calling
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 ?