lua-users home
lua-l archive

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


On Mon, 2 Mar 2009, Patrick Donnelly wrote:

> There are other cases where lua_checkstack may fail but it won't throw
> an error. If you attempt to allocate more space on the stack above the
> maximum C stack limit, then it will immediately return 0.

... and with that you shattered my illusion of having learnt to write 
safe Lua client code.  I totally did not expect that even though I 
must have read the manual umpteen times now.  There's a lot of code I 
need to grep and fix.

Thanks!

Joonas