Oh, I see the problem. Or at least the main problem. The macro is called %cs_struct, not cs_struct. Add a %.

 

%include "cs_struct.i"

cs_struct(CTypeData, TypeData);