lua-users home
lua-l archive

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


> 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