[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: C API question
- From: joao lobato <btnfdp.lobato@...>
- Date: Thu, 6 Jan 2011 21:52:05 +0000
Hi, List
I've been toying with a simple array library using the C API.
It implements 0-based arrays and functions to get and set values. It
supports any Lua type, with nil as default value.
My question is: my arrays store references (from luaL_ref) to a single
table in the registry; should I use one table for each array? Is there
another way to store the Lua values?
joao lobato