lua-users home
lua-l archive

Re: [PROPOSAL] a new function: table.proto()

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


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_...

AltStyle によって変換されたページ (->オリジナル) /