lua-users home
lua-l archive

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


Hello,

is it possible with tolua++ or swig to bind nested
properties like with luabind?

http://www.rasterbar.com/products/luabind/docs.html#properties

-- C:
struct A {
  int m;
};
struct B {
  A a;
};

-- Lua:
b = B()
b.a.m = 1
print(b.a.m)


Peter