Update numpy.h

rm old code from npe
This commit is contained in:
Francis Williams 2023-01-11 17:04:29 -05:00 committed by GitHub
parent 3f0f27fc12
commit 142ae7e124
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,12 +27,6 @@
#include <utility>
#include <vector>
#if defined(_MSC_VER)
# pragma warning(push)
# pragma warning(disable : 4127) // warning C4127: Conditional expression is constant
typedef SSIZE_T ssize_t;
#endif
/* This will be true on all flat address space platforms and allows us to reduce the
whole npy_intp / ssize_t / Py_intptr_t business down to just ssize_t for all size
and dimension types (e.g. shape, strides, indexing), instead of inflicting this