How to iterate through luabind class (in lua or in c++)?
-- Does not work
-- self is userdata, not a table
for i, v in pairs(self) do
I've tried to use class_info(self).attributes.
But it retrieves only the attributes that are bound in c++ not the attributes that are created in lua.