numpy  2.0.0
src/multiarray/numpymemoryview.c File Reference
#include <Python.h>
#include "structmember.h"
#include "numpy/arrayobject.h"
#include "numpy/arrayscalars.h"
#include "npy_config.h"
#include "npy_pycompat.h"
#include "numpymemoryview.h"

Defines

#define PY_SSIZE_T_CLEAN
#define NPY_NO_DEPRECATED_API   NPY_API_VERSION
#define _MULTIARRAYMODULE

Functions

NPY_NO_EXPORT int _numpymemoryview_init (PyObject **typeobject)

Define Documentation

#define NPY_NO_DEPRECATED_API   NPY_API_VERSION

Function Documentation

NPY_NO_EXPORT int _numpymemoryview_init ( PyObject **  typeobject)
Memoryview is introduced to 2.x series only in 2.7, so for supporting 2.6, we need to have a minimal implementation here.