diff options
author | David Cournapeau <cournape@gmail.com> | 2009-04-30 08:33:45 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2009-04-30 08:33:45 +0000 |
commit | 7a4e556da4233235d61c67407b103d4a944026e1 (patch) | |
tree | 27216b3ef74d205658eb8ebd7e3530392debbd36 /numpy/core/src/arraymethods.c | |
parent | 2d290567e93891fa604b724d1eadcabb527307c6 (diff) | |
download | numpy-7a4e556da4233235d61c67407b103d4a944026e1.tar.gz |
Tag any function/typedef/variable exported through the C-API with NPY_NO_EXPORT instead of static.
Diffstat (limited to 'numpy/core/src/arraymethods.c')
-rw-r--r-- | numpy/core/src/arraymethods.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/numpy/core/src/arraymethods.c b/numpy/core/src/arraymethods.c index ee4a7ea39..a6ee270a0 100644 --- a/numpy/core/src/arraymethods.c +++ b/numpy/core/src/arraymethods.c @@ -259,7 +259,7 @@ array_swapaxes(PyArrayObject *self, PyObject *args) /*NUMPY_API Get a subset of bytes from each element of the array */ -static PyObject * +NPY_NO_EXPORT PyObject * PyArray_GetField(PyArrayObject *self, PyArray_Descr *typed, int offset) { PyObject *ret = NULL; @@ -310,7 +310,7 @@ array_getfield(PyArrayObject *self, PyObject *args, PyObject *kwds) /*NUMPY_API Set a subset of bytes from each element of the array */ -static int +NPY_NO_EXPORT int PyArray_SetField(PyArrayObject *self, PyArray_Descr *dtype, int offset, PyObject *val) { @@ -367,7 +367,7 @@ array_setfield(PyArrayObject *self, PyObject *args, PyObject *kwds) */ /*NUMPY_API*/ -static PyObject * +NPY_NO_EXPORT PyObject * PyArray_Byteswap(PyArrayObject *self, Bool inplace) { PyArrayObject *ret; @@ -1449,7 +1449,7 @@ array_setstate(PyArrayObject *self, PyObject *args) } /*NUMPY_API*/ -static int +NPY_NO_EXPORT int PyArray_Dump(PyObject *self, PyObject *file, int protocol) { PyObject *cpick = NULL; @@ -1482,7 +1482,7 @@ PyArray_Dump(PyObject *self, PyObject *file, int protocol) } /*NUMPY_API*/ -static PyObject * +NPY_NO_EXPORT PyObject * PyArray_Dumps(PyObject *self, int protocol) { PyObject *cpick = NULL; |