lua-users home
lua-l archive

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

> So what is a core metamethod, and why is this one different?

A core metamethod is one supported by the core. __tostring is something
tostring offers and some other library functions use. It is not a core
metamethod because it is defined by a library function.