Include/internal/pycore_memoryobject.h
raw| 1 | #ifndef Py_INTERNAL_MEMORYOBJECT_H |
| 2 | #define Py_INTERNAL_MEMORYOBJECT_H |
| 3 | #ifdef __cplusplus |
| 4 | extern "C" { |
| 5 | #endif |
| 6 | |
| 7 | #ifndef Py_BUILD_CORE |
| 8 | # error "this header requires Py_BUILD_CORE define" |
| 9 | #endif |
| 10 | |
| 11 | extern PyTypeObject _PyManagedBuffer_Type; |
| 12 | |
| 13 | PyObject * |
| 14 | _PyMemoryView_FromBufferProc(PyObject *v, int flags, |
| 15 | getbufferproc bufferproc); |
| 16 | |
| 17 | #ifdef __cplusplus |
| 18 | } |
| 19 | #endif |
| 20 | #endif /* !Py_INTERNAL_MEMORYOBJECT_H */ |