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 "numpy/npy_3kcompat.h"
#include "numpymemoryview.h"

Defines

#define PY_SSIZE_T_CLEAN
#define _MULTIARRAYMODULE
#define NPY_NO_PREFIX

Functions

NPY_NO_EXPORT int _numpymemoryview_init (PyObject **typeobject)

Define Documentation

#define _MULTIARRAYMODULE
#define NPY_NO_PREFIX
#define PY_SSIZE_T_CLEAN

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.