[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: tolua 4.0a suggestions
- From: Waldemar Celes <celes@...>
- Date: Mon, 05 Mar 2001 16:32:44 -0300
> We need specifically the information that the .tolua_itag table
> provided: given the name of a class, what is the tag of its instance?
> In our case, constructing a dummy instance of the class and finding
> out via the tag() function is not an option. Alternatively, given the
> tag of a class, returning the tag of the corresponding instance would
> also work.
Lua 4.1 will provide support for extended types,
allowing the programmer to bind a name to a tag.
This feature will be, of course, used by tolua to register its types.
So, querying a tag given its name (and vice versa) will be naturally