Debian Codegraph @

pypy/module/cpyext/include/memoryobject.h

raw symbols SCIP
1 #ifndef Py_MEMORYOBJECT_H
2 #define Py_MEMORYOBJECT_H
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 #include "cpyext_memoryobject.h"
9
10 /* Get a pointer to the memoryview's private copy of the exporter's buffer. */
11 #define PyMemoryView_GET_BUFFER(op) (&((PyMemoryViewObject *)(op))->view)
12 /* Get a pointer to the exporting object (this may be NULL!). */
13 #define PyMemoryView_GET_BASE(op) (((PyMemoryViewObject *)(op))->view.obj)
14
15
16 #ifdef __cplusplus
17 }
18 #endif
19 #endif /* !Py_MEMORYOBJECT_H */