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:
4
PC/python3dll.c
generated
4
PC/python3dll.c
generated
@@ -373,6 +373,10 @@ EXPORT_FUNC(PyMarshal_WriteObjectToString)
|
||||
EXPORT_FUNC(PyMem_Calloc)
|
||||
EXPORT_FUNC(PyMem_Free)
|
||||
EXPORT_FUNC(PyMem_Malloc)
|
||||
EXPORT_FUNC(PyMem_RawCalloc)
|
||||
EXPORT_FUNC(PyMem_RawFree)
|
||||
EXPORT_FUNC(PyMem_RawMalloc)
|
||||
EXPORT_FUNC(PyMem_RawRealloc)
|
||||
EXPORT_FUNC(PyMem_Realloc)
|
||||
EXPORT_FUNC(PyMember_GetOne)
|
||||
EXPORT_FUNC(PyMember_SetOne)
|
||||
|
||||
Reference in New Issue
Block a user