[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: recursively traverse globals table from C API
- From: "Jérôme VUARAND" <jerome.vuarand@...>
- Date: Sat, 20 Jan 2007 00:44:18 -0500
2007/1/19, Chris <coderight@gmail.com>:
That won't work either because the index is relative and there will be
more stuff on the stack.
The code I posted originally only contains balanced functions, so the
-1 index is always correct when the recursive function hits lua_next,
except if dosomestuff push stuff on the stack.