Re: [sigrok-devel] Patch for Python 3.x support.

2011-01-08 Thread Uwe Hermann
On Sat, Jan 08, 2011 at 04:02:11PM +0100, Olivier Fauchon wrote: > The attached patch fixes the compilation errors. Great! Merged, thanks a lot. Uwe. -- http://hermann-uwe.de | http://sigrok.org http://randomprojects.org | http://unmaintained-free-software.org -

[sigrok-devel] Patch for Python 3.x support.

2011-01-08 Thread Olivier Fauchon
Hi, Sigrok can't compile with Python 3+. It fails with the following error: .. decode.c:72:2: warning: implicit declaration of function 'PyString_Check' decode.c:80:2: warning: implicit declaration of function 'PyString_AsString' decode.c:80:12: warning: assignment makes pointer from integer