lua-users home
lua-l archive

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


Yes they do, I remembered as soon as I sent it.

On Sat, Sep 4, 2010 at 3:39 PM, HyperHacker <hyperhacker@gmail.com> wrote:
> On Sat, Sep 4, 2010 at 16:23, Jonathan Castello <twisolar@gmail.com> wrote:
>> On Sat, Sep 4, 2010 at 3:14 PM, RJ Russell <russellsprouts2@gmail.com> wrote:
>>> In 5.2, I think it would be great if we could set metatables for ALL
>>> tables and ALL functions, much like you can set it for all strings and
>>> all numbers.
>>
>> Functions already share a single metatable, don't they?
>>
>> ~Jonathan
>>
>>
>
> A while ago I was thinking how useful it could be to set a default
> metatable for newly-created tables. I did put together a patch for it,
> but it's a nasty hack and I haven't been actually using it.
>
> --
> Sent from my toaster.
>
>