[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: access to the keys of a table
- From: Gabriel Peyré <nikopol0@...>
- Date: Mon, 18 Nov 2002 23:11:16 +0100
Sorry if this question has already been answered, I didn't manage to find a
simple answer (both on the archives and in
I want to access the different elements of a table through the API (i.e.
code is written in C) without knowing
their keys. The only possibility I see is to access the table as a simple C
array using lua_rawgeti.
Is their a way to access the key associated with the ith element (not only
the value) ?
Thanks in advance.