lua-users home
lua-l archive

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

On Sun, Nov 23, 2003 at 03:15:50PM +0100,  wrote:
> However, I have not seen anything in the Lua reference manual
> as to check the current stack size. The closest email I've found
> in the archives is
> 09/msg00163.html, but that doesn't really help me with stack
> overflow checks.

it's instructive to read the entire thread starting at that message:
it mentions lua_checkstack() and luaL_checkstack().  also see section
3.2 (The Stack and Indices) in the reference manual.