From: Konrad H. <hi...@cn...> - 2003-03-18 17:43:07
|
On Tuesday 18 March 2003 09:29, chr...@ph... wrote: > Ok, I found the problem. Within libnumpy-access.h yet again arrayobject= =2Eh > is called which causes the problem. So changing this to > > #include "c:\python22\include\Python.h" > #include "c:\python22\include\numeric\arrayobject.h" > #include "libnumpy-access.h" > #define PY_ARRAY_UNIQUE_SYMBOL > > static PyObject* find_minimum(PyObject *self, PyObject *args){ > ........ > > Now it works perfectly. Probably my code runs under linux anyway due to In that case, you can as well remove the #define line, because it has no=20 effect when used after including arrayobject.h. Konrad. --=20 -------------------------------------------------------------------------= ------ Konrad Hinsen | E-Mail: hi...@cn... Centre de Biophysique Moleculaire (CNRS) | Tel.: +33-2.38.25.56.24 Rue Charles Sadron | Fax: +33-2.38.63.15.17 45071 Orleans Cedex 2 | Deutsch/Esperanto/English/ France | Nederlands/Francais -------------------------------------------------------------------------= ------ |