lua-users home
lua-l archive

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


__metatable is for protecting metatables. If you do not want a program
to change the contents of a metatable, you set its __metatable field.
With that, the program cannot access the metatable (and therefore cannot
change it).

-- Roberto