diff options
| author | Eric Wieser <wieser.eric@gmail.com> | 2020-08-26 10:00:32 +0100 |
|---|---|---|
| committer | Eric Wieser <wieser.eric@gmail.com> | 2020-08-26 10:00:32 +0100 |
| commit | a4aeafef357f803e96af79abcf158d6d776161f7 (patch) | |
| tree | ca11ad77bbc0d3ba97f364d444d33973552f242f /numpy/core/include | |
| parent | 97d2db483fc0ffd46f38d0e1c39d5fc001e33197 (diff) | |
| download | numpy-a4aeafef357f803e96af79abcf158d6d776161f7.tar.gz | |
MAINT: Remove NPY_COPY_PYOBJECT_PTR
This macro was made useless in d6278bdc47d12acc5d3edfad3ad0654055f77737, this is just a final cleanup.
This allows a header to be removed from `common.h`
Diffstat (limited to 'numpy/core/include')
| -rw-r--r-- | numpy/core/include/numpy/npy_cpu.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/numpy/core/include/numpy/npy_cpu.h b/numpy/core/include/numpy/npy_cpu.h index 509e23a51..4dbf9d84e 100644 --- a/numpy/core/include/numpy/npy_cpu.h +++ b/numpy/core/include/numpy/npy_cpu.h @@ -24,7 +24,6 @@ #define _NPY_CPUARCH_H_ #include "numpyconfig.h" -#include <string.h> /* for memcpy */ #if defined( __i386__ ) || defined(i386) || defined(_M_IX86) /* @@ -111,8 +110,6 @@ information about your platform (OS, CPU and compiler) #endif -#define NPY_COPY_PYOBJECT_PTR(dst, src) memcpy(dst, src, sizeof(PyObject *)) - #if (defined(NPY_CPU_X86) || defined(NPY_CPU_AMD64)) #define NPY_CPU_HAVE_UNALIGNED_ACCESS 1 #else |
