Re: How to access array inside a table from C code ?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: How to access array inside a table from C code ?
- From: Taj Khattra <taj.khattra@...>
- Date: 2004年2月23日 21:08:20 -0800
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