[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: Brian Hook <hook_l@...>
- Date: Mon, 23 Feb 2004 23:38:39 -0500
> I think I am starting to understand something of what is going on
> here. If the table only has values and no "n", I would use
> table.getn() inside a script to get the count limit. But is there a
> in C callable equivalent?
I'm not aware of one, but I'm a relative newbie. You could instead
just iterate over the table with lua_next(), or guarantee that "n" is
valid.
Brian