mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
gh-132776: Cleanup for XIBufferViewType (gh-132821)
* add notes * rename XIBufferViewObject to xibufferview * move memoryview XIData code to memoryobject.c
This commit is contained in:
parent
c9f3f5b4ed
commit
e54e828852
8 changed files with 339 additions and 250 deletions
|
@ -8,6 +8,17 @@ extern "C" {
|
|||
# error "this header requires Py_BUILD_CORE define"
|
||||
#endif
|
||||
|
||||
struct _memoryobject_state {
|
||||
PyTypeObject *XIBufferViewType;
|
||||
};
|
||||
|
||||
extern PyStatus _PyMemoryView_InitTypes(PyInterpreterState *);
|
||||
extern void _PyMemoryView_FiniTypes(PyInterpreterState *);
|
||||
|
||||
// exported for _interpreters module
|
||||
PyAPI_FUNC(PyTypeObject *) _PyMemoryView_GetXIBuffewViewType(void);
|
||||
|
||||
|
||||
extern PyTypeObject _PyManagedBuffer_Type;
|
||||
|
||||
PyObject *
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue