diff options
Diffstat (limited to 'Include')
-rw-r--r-- | Include/cpython/memoryobject.h | 2 | ||||
-rw-r--r-- | Include/internal/pycore_memoryobject.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Include/cpython/memoryobject.h b/Include/cpython/memoryobject.h index 3837fa8..961161b 100644 --- a/Include/cpython/memoryobject.h +++ b/Include/cpython/memoryobject.h @@ -2,8 +2,6 @@ # error "this header file must not be included directly" #endif -PyAPI_DATA(PyTypeObject) _PyManagedBuffer_Type; - /* The structs are declared here so that macros can work, but they shouldn't be considered public. Don't access their fields directly, use the macros and functions instead! */ diff --git a/Include/internal/pycore_memoryobject.h b/Include/internal/pycore_memoryobject.h index fe19e3f..62e204f 100644 --- a/Include/internal/pycore_memoryobject.h +++ b/Include/internal/pycore_memoryobject.h @@ -8,6 +8,8 @@ extern "C" { # error "this header requires Py_BUILD_CORE define" #endif +extern PyTypeObject _PyManagedBuffer_Type; + PyObject * _PyMemoryView_FromBufferProc(PyObject *v, int flags, getbufferproc bufferproc); |