lua-users home
lua-l archive

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


> Isn't that what __metatable is for? (Or don't give it access to
> getmetatable(), or at least give it a wrapper that refuses to work on
> your objects, if you need that for some reason...)

Oh yes, it never occurred to me, I could just override-replace the
default getmetatable function.