* Joe Mason SNIP Have you tried putting the typedef in the interface file. Then it will show up in the foo_wrap.c file. That could fix your problem. BTW, there is a mailing list for SWIG, see <url:http://swig.sourceforge.net/>, where D. Beazley and others are very helpful. HTH -- Roger