[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [PROPOSAL] a new function: table.proto()
- From: steve donovan <steve.j.donovan@...>
- Date: Tue, 4 May 2010 11:36:16 +0200
On Tue, May 4, 2010 at 11:17 AM, Duncan Cross <duncan.cross@gmail.com> wrote:
> It sounds like what you want is a Lua interface to the API function
> lua_createtable():
Which is fairly trivial to expose in a C extension.
The reason for not exporting it as part of the public API is that it
exposes the implementation detail that tables have a hash part and an
array part. But it really can be _useful_...