Spanki opened this issue on Mar 24, 2008 · 7 posts
ockham posted Tue, 25 March 2008 at 2:47 PM
It's been a while since I did any of that SWIG stuff, but I remember
running into so many undocumented obstacles that I just stayed with
char * and int for a few direct arguments to C functions. (I believe this
was recommended by some of the SWIG guidance...?)
For more complicated sets of data, I passed them as text files in
both directions. That way the Py could write and read using its own
methods, and the C could write and read in pure C style.