[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: lua_type and default tags
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Thu, 9 Nov 2000 11:28:18 -0200 (EDT)
>Is it a coincidence that the enumeration returned by lua_type() matches the
>default tag numbers of each type?
No.
>Would it make sense to add this to the spec so we may rely on it?
Yes. We'll change the docs to reflect this.
Just to be clear: lua_tag returns the same values as lua_type, except for
tables and userdata that do not have default tags.
--lhf