mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-85283: Add PyMem_RawMalloc() to the limited C API (#108570)
Add PyMem_RawMalloc(), PyMem_RawCalloc(), PyMem_RawRealloc() and PyMem_RawFree() to the limited C API. These functions were added by Python 3.4 and are needed to port stdlib extensions to the limited C API, like grp and pwd. Co-authored-by: Erlend E. Aasland <erlend@python.org>
This commit is contained in:
parent
cf9c25c719
commit
cc71cc9256
8 changed files with 39 additions and 6 deletions
4
Doc/data/stable_abi.dat
generated
4
Doc/data/stable_abi.dat
generated
|
@ -388,6 +388,10 @@ function,PyMapping_Values,3.2,,
|
|||
function,PyMem_Calloc,3.7,,
|
||||
function,PyMem_Free,3.2,,
|
||||
function,PyMem_Malloc,3.2,,
|
||||
function,PyMem_RawCalloc,3.13,,
|
||||
function,PyMem_RawFree,3.13,,
|
||||
function,PyMem_RawMalloc,3.13,,
|
||||
function,PyMem_RawRealloc,3.13,,
|
||||
function,PyMem_Realloc,3.2,,
|
||||
type,PyMemberDef,3.2,,full-abi
|
||||
var,PyMemberDescr_Type,3.2,,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue