lua-users home
lua-l archive

Re: recursively traverse globals table from C API

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


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.

AltStyle によって変換されたページ (->オリジナル) /