From: David.Goldsmith <Dav...@no...> - 2008-01-25 02:11:13
|
Hi! Is it possible to 'split' the SWIG code for one module among multiple .i files? Corresponding to two distinct headers, I have a couple .i's, both beginning w/ the same %module declaration (because ultimately I want them all to be in just one Python module). They SWIG fine, and python setup.py build_ext is able to compile 'em fine, but the linker complains that the __init__modulename method is multiply defined. What to do? Thanks! DG |