Debian Codegraph @

pypy/module/cpyext/parse/cpyext_memoryobject.h

raw symbols SCIP
1 /* The struct is declared here but it shouldn't
2 be considered public. Don't access those fields directly,
3 use the functions instead! */
4
5
6 /* this is wrong, PyMemoryViewObject should use PyObject_VAR_HEAD, and use
7 ob_data[1] to hold the shapes, strides, and offsets for the view. Then
8 we should use specialized allocators (that break the cpyext model) to
9 allocate ob_data = malloc(sizeof(Py_ssize_t) * view.ndims * 3) */
10 typedef struct {
11 PyObject_HEAD
12 Py_buffer view;
13 } PyMemoryViewObject;