lua-users home
lua-l archive

Re: How to access array inside a table from C code ?

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


On Mon, Feb 23, 2004 at 09:44:59PM -0700, Michael Newberry wrote:
> My first attempt was using lua_next() but I failed to ever figure out how to
> setup the stack properly. I don't think that end of things is very well
> documented.
section 3.11 (Manipulating Tables) in the reference manual
documents how to traverse a table. it includes an example
of how to traverse a table using lua_next().
-taj

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