c++ extension, problem passing argument

bobicanprogram icanbob at gmail.com
Fri Mar 13 21:39:03 CET 2009


On Mar 13, 1:34 pm, Matteo <tadweles... at gmail.com> wrote:
> hmmm... looks like SWIG has a problem with double pointers. I googled
> around a bit and found:
>
> http://osdir.com/ml/programming.swig/2003-02/msg00029.html
>
> anyone knows how to write a small wrapper to do the appropriate
> dereferencing?


If you can't solve your problem with SWIG you might still be able to
accomplish what you set out to do with the SIMPL toolkit.  (http://
www.icanprogram.com/simpl)   There are lots of examples kicking around
where a Python program exchanges data with a C (or C++) program.

bob



More information about the Python-list mailing list