[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua stack problem.
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Mon, 13 Jun 2011 16:05:47 -0300
> This question was probably answered before but I ran into a problem
> trying to push many lua values from a c function.
The manual says:
When you interact with Lua API, you are responsible for ensuring
consistency. In particular, you are responsible for controlling stack
overflow. You can use the function lua_checkstack to grow the stack size.
http://www.lua.org/manual/5.1/manual.html#3.2