diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2012-02-03 14:59:47 -0700 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2012-02-04 17:54:37 -0700 |
commit | 585d6ea0a84925a3f5d73b50bb9a4378ca54f27b (patch) | |
tree | d1ce3ae01976328f9591c250e11054cb8330ea6d | |
parent | 9599dde326067516f6fabf046883c5fe2e6cbe5f (diff) | |
download | numpy-585d6ea0a84925a3f5d73b50bb9a4378ca54f27b.tar.gz |
UPD: include ndarrayobject.h instead of noprefix.h in umathmodule.c.src.
-rw-r--r-- | numpy/core/src/umath/umathmodule.c.src | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/numpy/core/src/umath/umathmodule.c.src b/numpy/core/src/umath/umathmodule.c.src index bd3907731..a6a9b7b2b 100644 --- a/numpy/core/src/umath/umathmodule.c.src +++ b/numpy/core/src/umath/umathmodule.c.src @@ -25,7 +25,7 @@ #define PY_ARRAY_UNIQUE_SYMBOL _npy_umathmodule_ARRAY_API #endif -#include "numpy/noprefix.h" +#include "numpy/ndarrayobject.h" #include "numpy/ufuncobject.h" #include "abstract.h" @@ -292,12 +292,15 @@ InitOtherOperators(PyObject *dictionary) { /*static PyTypeObject PyUFunc_Type;*/ static struct PyMethodDef methods[] = { - {"frompyfunc", (PyCFunction) ufunc_frompyfunc, - METH_VARARGS | METH_KEYWORDS, NULL}, - {"seterrobj", (PyCFunction) ufunc_seterr, - METH_VARARGS, NULL}, - {"geterrobj", (PyCFunction) ufunc_geterr, - METH_VARARGS, NULL}, + {"frompyfunc", + (PyCFunction) ufunc_frompyfunc, + METH_VARARGS | METH_KEYWORDS, NULL}, + {"seterrobj", + (PyCFunction) ufunc_seterr, + METH_VARARGS, NULL}, + {"geterrobj", + (PyCFunction) ufunc_geterr, + METH_VARARGS, NULL}, {NULL, NULL, 0, NULL} /* sentinel */ }; |