lua-users home
lua-l archive

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


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