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