Hi, thanks for your help!
> #ifndef Py_TYPE
> #define Py_TYPE(ob) (((PyObject*)(ob))->ob_type)
> #endif
worked, with replacing *self->ob_type* by *Py_TYPE(self)* in any C-file.
now I ran into another compilation problem, which I could not find any
solution to:
pyalsa/alsaseq.c:505:13: error: 'PyInt_Type' undeclared here (not in a
function)
pyalsa/alsaseq.c:508:3: error: 'Py_TPFLAGS_HAVE_GETCHARBUFFER'
undeclared here (not in a function)
pyalsa/alsaseq.c:509:5: error: 'Py_TPFLAGS_HAVE_CLASS' undeclared here
(not in a function)
pyalsa/alsaseq.c:510:5: error: 'Py_TPFLAGS_CHECKTYPES' undeclared here
(not in a function)
Do you have any suggestions?
Regards,
Ck
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Wed Mar 20 16:15:03 2013
This archive was generated by hypermail 2.1.8 : Wed Mar 20 2013 - 16:15:03 EET