lua-users home
lua-l archive

RE: tolua question: structs in structs

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


you can declare them seperatly:
struct subfoo1 {
 int submember1;
 int submember2;
};
struct foo {
 int member1;
 subfoo1 substruct1;
};
there's no easy way to correct tolua here, and i can't recommend messing
with it...
Cheers,
Peter

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