[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: RE: Lua type names and the __type metafield
- From: "Thijs Schreijer" <thijs@...>
- Date: Mon, 8 Oct 2012 07:58:30 +0200
> On Behalf Of Geoff Leyland
> Sent: maandag 8 oktober 2012 1:33
> On 8/10/2012, at 11:40 AM, Rob Hoelz <email@example.com> wrote:
> > Hi list,
> > I was thinking about this when I was out and about today: type() only
> > provides "raw" type information...
> You probably already know, but this also came up in May: http://lua-
I think it was then that I wrote the typex library (as an example to a
Typex traverses the registry to find the name of the metatable and returns
that as a second argument. The results of the registry traversal are then
cached to speed-up next searches.