[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua 5.3 work1 Considering math.isinteger or type()
- From: Eric Wing <ewmailing@...>
- Date: Fri, 19 Jul 2013 13:12:05 -0700
On 7/18/13, Hisham <h@hisham.hm> wrote:
> if this is to be made more general than just for math,
I know there are considerable implications to the module ecosystem
that need to be carefully considered, but as a more general
application, consider returning the metatable name of userdata as the
subtype.
There have been some occasions I really wanted to know the "subtype"
of the userdata so I could do special or different handling.
Thanks,
Eric
--
Beginning iPhone Games Development
http://playcontrol.net/iphonegamebook/