lua-users home
lua-l archive

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


Is it possible to check if two table have the same metatable, or if a
table has a specific table as its metatable, besides using
debug.metatable?  This should work even if __metatable has been
overridden, and I think it would be fairly safe.