From 39e305137d5d3df233d87b3fb903fcdc81750d65 Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Sun, 13 Jul 2008 23:56:51 +0000 Subject: Move DEPRECATE macro to ndarrayobject.h. Deprecate PyArray_As1D. Remove deprecated functions from fftpack_listmodule.c. There may need to be further fixes on 64 bit platforms, we will see. --- numpy/core/src/arrayobject.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'numpy/core/src/arrayobject.c') diff --git a/numpy/core/src/arrayobject.c b/numpy/core/src/arrayobject.c index d496233e9..2b4ec2ea9 100644 --- a/numpy/core/src/arrayobject.c +++ b/numpy/core/src/arrayobject.c @@ -22,12 +22,6 @@ maintainer email: oliphant.travis@ieee.org */ /*#include */ -#if PY_VERSION_HEX >= 0x02050000 -#define DEPRECATE(msg) PyErr_WarnEx(PyExc_DeprecationWarning,msg,1) -#else -#define DEPRECATE(msg) PyErr_Warn(PyExc_DeprecationWarning,msg) -#endif - /*NUMPY_API * Get Priority from object */ -- cgit v1.2.1