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
[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
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
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