lua-users home
lua-l archive

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


> Any idea why it was removed? Is this a long-term decision for some 
> design reason? Or was it just to save table space?

That storing was an internal detail of luaL_newmetatable to support
the way luaL_checkudata worked. Now luaL_checkudata has a different
implementation and does not need that.

If you need to map from the metatable to its name, you must support the
mapping (e.g., you can store the name directly in the metatable).

-- Roberto