lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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