mirror of
https://github.com/python/cpython.git
synced 2024-11-25 09:39:56 +01:00
773b803c02
Remove private _PyManagedBuffer_Type variable. Move it to the internal C API and no longer export it.
21 lines
427 B
C
21 lines
427 B
C
#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
|
|
|
|
extern PyTypeObject _PyManagedBuffer_Type;
|
|
|
|
PyObject *
|
|
_PyMemoryView_FromBufferProc(PyObject *v, int flags,
|
|
getbufferproc bufferproc);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif /* !Py_INTERNAL_MEMORYOBJECT_H */
|