lua-users home
lua-l archive

set/getuserdata set/gettype tag methods

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi,
is there any chance to get tag methods for reading
and assigning from/to userdata/usertypes?
That would be a really great improvement if used
often, f.i. if you export a C++ class as a table
in lua and want some members to be accessable
you have to override get/settable, lookup the
names for each access etc. with set/get tag
methods the additional lookup won't be necessary.
Kind Regards,
Michael Flad
--
Fantastic Realms Interactive GmbH - Germany

AltStyle によって変換されたページ (->オリジナル) /