Re: luaL_checkstack ? (WAS: Re: Variable number of return values from C to lua)
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: luaL_checkstack ? (WAS: Re: Variable number of return values from C to lua)
- From: roberto@... (Roberto Ierusalimschy)
- Date: 2007年6月14日 18:41:32 -0300
> Why calling luaL_checkstack is needed before adding too much elements
> in the stack ?
>
> When call it and when do not call it ? I mean do I have to call it
> when I just have 3 elements to push ? Where is the limit ?
Lua 5.1 Reference Manual
* 3.2 - Stack Size
http://www.lua.org/manual/5.1/manual.html#3.2
-- Roberto