Re: SWIG, c++ to Python: array of pointers (double pointer) not working

2009-03-17 Thread bobicanprogram
On Mar 14, 5:22 am, Matteo wrote: > Re-posting in more simple and precise terms from a previous > threadhttp://groups.google.it/group/comp.lang.python/browse_thread/thread/6... > > Problem: > SWIG doesn't properly wrap c++ arrays of pointers, therefore when you > try to call a c++ function which

Re: SWIG C++ std::cout do not output to interactive interpreter IDLE

2008-04-22 Thread Juergen Perlinger
[EMAIL PROTECTED] wrote: > Dear All, > > I have some functions written in C++, which I try to approach from > python using swig. In the C++ functions I use std::cout to print stuff > to output. Everything works fine, but the only problem that I have is > that when I start IDLE and use the functio

Re: SWIG/C++

2008-04-10 Thread Matthieu Brucher
Hi, The error is generated because you are asking for a u8*, but the buffer is not a u8*, perhaps a char* or even a void*. If you change the method signature to either char* or void*, it may work like you want it to ;) Matthieu 2008/4/10, Bill Davy <[EMAIL PROTECTED]>: > > Is there a better plac

Re: SWIG, C++, and Mac OS X

2006-07-05 Thread nate
why are you modifying your setup.py file? can't you just run: swig -c++ -python exampleFile.i ? have you seen http://www.swig.org/tutorial.html , does it describe something like what you'd like to do? n -- http://mail.python.org/mailman/listinfo/python-list