[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Function as metatable (metafunctions?)
- From: Petite Abeille <petite.abeille@...>
- Date: Mon, 31 Mar 2014 19:48:22 +0200
On Mar 31, 2014, at 7:29 PM, Javier Guerra Giraldez <javier@guerrag.com> wrote:
> so, you can't set metatable to _a_ function, you set the global
> function type's metatable
Right you are. Rici Lake to the rescue!
http://lua-users.org/wiki/TableFuncs