Sorry if this is a faq. I've not found much searching. I have a C header with lots of

typedef enum { ... } enum_type;

declarations, and swig is giving me a parsing error at the first line number where this occurs. Can swig handle that construct? How hard would it be to modify the swig code to handle it?