lua-users home
lua-l archive

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


> Is setting a metatable on the registry supported?  Should it be?

The registry is a regular table, so you can set a metatable for it.


> Setting a metatable on the registry seems like a bad idea since it by 
> definition a shared resource.

It seems a bad idea indeed...

-- Roberto