[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: Mon, 23 Feb 2004 21:05:18 -0800
On Mon, Feb 23, 2004 at 09:33:31PM -0700, Michael Newberry wrote:
> 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?
luaL_getn() in the auxiliary library (src/lib/lauxlib.c) is the C
equivalent of table.getn()
-taj