2023-05-04 11:59:46 -03:00
|
|
|
#ifndef Py_INTERNAL_MEMORYOBJECT_H
|
|
|
|
#define Py_INTERNAL_MEMORYOBJECT_H
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef Py_BUILD_CORE
|
|
|
|
# error "this header requires Py_BUILD_CORE define"
|
|
|
|
#endif
|
|
|
|
|
2023-08-24 14:07:54 -03:00
|
|
|
extern PyTypeObject _PyManagedBuffer_Type;
|
|
|
|
|
2023-05-04 11:59:46 -03:00
|
|
|
PyObject *
|
2023-05-08 13:52:41 -03:00
|
|
|
_PyMemoryView_FromBufferProc(PyObject *v, int flags,
|
|
|
|
getbufferproc bufferproc);
|
2023-05-04 11:59:46 -03:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif /* !Py_INTERNAL_MEMORYOBJECT_H */
|