[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: tolua + lua5.1alpha
- From: Roberto Ierusalimschy <roberto@...>
- Date: Tue, 06 Sep 2005 09:37:56 -0300
> 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).