mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +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
|
@ -5,6 +5,7 @@
|
|||
_RESOLVE_MODINIT_FUNC_NAME(NAME)
|
||||
|
||||
|
||||
#ifdef REGISTERS_HEAP_TYPES
|
||||
static int
|
||||
ensure_xid_class(PyTypeObject *cls, xidatafunc getdata)
|
||||
{
|
||||
|
@ -16,7 +17,6 @@ ensure_xid_class(PyTypeObject *cls, xidatafunc getdata)
|
|||
return _PyXIData_RegisterClass(&ctx, cls, getdata);
|
||||
}
|
||||
|
||||
#ifdef REGISTERS_HEAP_TYPES
|
||||
static int
|
||||
clear_xid_class(PyTypeObject *cls)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue