how to iterate "in lua defined attributes" of an object
Gregor Burger <[email protected]>
| Newsgroups | gmane.comp.lang.lua.bind.user |
|---|---|
| Message-ID | <[email protected]> |
hi, i'm searching for this for a long time. i basically need the equivalent of the python '__dict__' object for an object. i know there exists a class_info class which has an 'attribute' table but this table doesn't seem to include the attributes that were defined in the lua code. i also tried some code of this[0] thread. the get_table and get_table all seem to include the methods defined but not the objects attributes. thanks gregor [0] http://sourceforge.net/mailarchive/message.php?msg_id=449AF0CB.3020805%40silentdreams.de ------------------------------------------------------------------------------