[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: "Michael Newberry" <mnewberry@...>
- Date: Tue, 24 Feb 2004 01:05:31 -0700
Thanks guys--- it all makes sense now. I was messing up the stack positions.
All the best to everyone who helped!
Michael
----- Original Message -----
From: "Taj Khattra" <taj.khattra@pobox.com>
To: "Lua list" <lua@bazar2.conectiva.com.br>
Sent: Monday, February 23, 2004 10:08 PM
Subject: Re: How to access array inside a table from C code ?
> 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
>