lua-users home
lua-l archive

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

how can i get a list of members from a tolua object.  tolua.foreach 
only shows me the members that were added via lua. for example, i 
have a .pkg file that looks like:

class test
 int a,b;
 float f;

i want to get a list of the names and types of those members a,b, and 
f from lua or from c.