mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
bpo-45459: Add Py_buffer to limited API (GH-29991)
- [x] ``Py_buffer`` struct - [x] ``PyBuffer_*()`` API functions - [x] ``PyBUF_*`` constants - [x] ``Py_bf_getbuffer`` and ``Py_bf_releasebuffer`` type slots - [x] ``PyMemoryView_FromBuffer()`` API - [x] tests for limited API - [x] ``make regen-limited-abi`` - [x] documentation update - [ ] export ``PyPickleBuffer*()`` API ???
This commit is contained in:
parent
08f8301b21
commit
f66c857572
17 changed files with 308 additions and 131 deletions
|
|
@ -10,6 +10,14 @@ function,PyArg_ValidateKeywordArguments,3.2,
|
|||
var,PyBaseObject_Type,3.2,
|
||||
function,PyBool_FromLong,3.2,
|
||||
var,PyBool_Type,3.2,
|
||||
function,PyBuffer_FillContiguousStrides,3.11,
|
||||
function,PyBuffer_FillInfo,3.11,
|
||||
function,PyBuffer_FromContiguous,3.11,
|
||||
function,PyBuffer_GetPointer,3.11,
|
||||
function,PyBuffer_IsContiguous,3.11,
|
||||
function,PyBuffer_Release,3.11,
|
||||
function,PyBuffer_SizeFromFormat,3.11,
|
||||
function,PyBuffer_ToContiguous,3.11,
|
||||
var,PyByteArrayIter_Type,3.2,
|
||||
function,PyByteArray_AsString,3.2,
|
||||
function,PyByteArray_Concat,3.2,
|
||||
|
|
@ -375,6 +383,7 @@ function,PyMem_Malloc,3.2,
|
|||
function,PyMem_Realloc,3.2,
|
||||
type,PyMemberDef,3.2,
|
||||
var,PyMemberDescr_Type,3.2,
|
||||
function,PyMemoryView_FromBuffer,3.11,
|
||||
function,PyMemoryView_FromMemory,3.7,
|
||||
function,PyMemoryView_FromObject,3.2,
|
||||
function,PyMemoryView_GetContiguous,3.2,
|
||||
|
|
@ -476,8 +485,10 @@ function,PyObject_CallMethodObjArgs,3.2,
|
|||
function,PyObject_CallNoArgs,3.10,
|
||||
function,PyObject_CallObject,3.2,
|
||||
function,PyObject_Calloc,3.7,
|
||||
function,PyObject_CheckBuffer,3.11,
|
||||
function,PyObject_CheckReadBuffer,3.2,
|
||||
function,PyObject_ClearWeakRefs,3.2,
|
||||
function,PyObject_CopyData,3.11,
|
||||
function,PyObject_DelItem,3.2,
|
||||
function,PyObject_DelItemString,3.2,
|
||||
function,PyObject_Dir,3.2,
|
||||
|
|
@ -495,6 +506,7 @@ function,PyObject_GenericSetDict,3.7,
|
|||
function,PyObject_GetAIter,3.10,
|
||||
function,PyObject_GetAttr,3.2,
|
||||
function,PyObject_GetAttrString,3.2,
|
||||
function,PyObject_GetBuffer,3.11,
|
||||
function,PyObject_GetItem,3.2,
|
||||
function,PyObject_GetIter,3.2,
|
||||
function,PyObject_HasAttr,3.2,
|
||||
|
|
@ -832,6 +844,7 @@ var,Py_UTF8Mode,3.8,
|
|||
function,Py_VaBuildValue,3.2,
|
||||
var,Py_Version,3.11,
|
||||
function,Py_XNewRef,3.10,
|
||||
type,Py_buffer,3.11,
|
||||
type,Py_intptr_t,3.2,
|
||||
type,Py_ssize_t,3.2,
|
||||
type,Py_uintptr_t,3.2,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue