File tree Expand file tree Collapse file tree 4 files changed +6
-3
lines changed Expand file tree Collapse file tree 4 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 2
2
# error "this header file must not be included directly"
3
3
#endif
4
4
5
- PyAPI_DATA (PyTypeObject ) _PyManagedBuffer_Type ;
6
-
7
5
/* The structs are declared here so that macros can work, but they shouldn't
8
6
be considered public. Don't access their fields directly, use the macros
9
7
and functions instead! */
Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ extern "C" {
8
8
# error "this header requires Py_BUILD_CORE define"
9
9
#endif
10
10
11
+ extern PyTypeObject _PyManagedBuffer_Type ;
12
+
11
13
PyObject *
12
14
_PyMemoryView_FromBufferProc (PyObject * v , int flags ,
13
15
getbufferproc bufferproc );
Original file line number Diff line number Diff line change 12
12
13
13
#include "Python.h"
14
14
#include "pycore_abstract.h" // _PyIndex_Check()
15
+ #include "pycore_memoryobject.h" // _PyManagedBuffer_Type
15
16
#include "pycore_object.h" // _PyObject_GC_UNTRACK()
16
17
#include "pycore_strhex.h" // _Py_strhex_with_sep()
17
18
#include <stddef.h> // offsetof()
Original file line number Diff line number Diff line change 9
9
#include "pycore_dict.h" // _PyObject_MakeDictFromInstanceAttributes()
10
10
#include "pycore_floatobject.h" // _PyFloat_DebugMallocStats()
11
11
#include "pycore_initconfig.h" // _PyStatus_EXCEPTION()
12
+ #include "pycore_memoryobject.h" // _PyManagedBuffer_Type
12
13
#include "pycore_namespace.h" // _PyNamespace_Type
13
14
#include "pycore_object.h" // PyAPI_DATA() _Py_SwappedOp definition
14
15
#include "pycore_pyerrors.h" // _PyErr_Occurred()
15
16
#include "pycore_pymem.h" // _PyMem_IsPtrFreed()
16
17
#include "pycore_pystate.h" // _PyThreadState_GET()
17
18
#include "pycore_symtable.h" // PySTEntry_Type
18
- #include "pycore_typevarobject.h" // _PyTypeAlias_Type, _Py_initialize_generic
19
19
#include "pycore_typeobject.h" // _PyBufferWrapper_Type
20
+ #include "pycore_typevarobject.h" // _PyTypeAlias_Type, _Py_initialize_generic
20
21
#include "pycore_unionobject.h" // _PyUnion_Type
22
+
21
23
#include "interpreteridobject.h" // _PyInterpreterID_Type
22
24
23
25
#ifdef Py_LIMITED_API
You can’t perform that action at this time.
0 commit comments