[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Bug in lua 5.2.1?
- From: Patrick Donnelly <batrick@...>
- Date: Wed, 5 Dec 2012 16:31:28 -0500
On Wed, Dec 5, 2012 at 3:55 PM, Rena <hyperhacker@gmail.com> wrote:
>The manual mentions at some point that
> Lua automatically checks the available stack space, but when?
"Whenever Lua calls C, it ensures that the stack has at least
LUA_MINSTACK extra slots."
"When you call a Lua function without a fixed number of results (see
lua_call), Lua ensures that the stack has enough size for all results,
but it does not ensure any extra space."
--
- Patrick Donnelly