[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: userdata name/key/type in work4
- From: "kaishaku13" <kaishaku13@...>
- Date: Mon, 15 Apr 2002 15:14:55 -0000
Is there some easy way to determine the userdata "type" ?
I am using work4 and a simple OO implementation...
The value I want to get is the one used as the key when building the
new userdata/metatable. If I understand correctly, it is the key for
a udatabox value, the two which create a table, which itself is used
with the udatabox to represent the metatable...
This value is, as suggested, stored in the registry as the key to the
I simply want to get the "name" of the metatable, the string
identifier, so I can compare against that in a gettable handler, and
in effect implement function overloading in my OO setup.
It needs to work in C when passed the userdata value...