diff options
author | Victor Stinner <vstinner@python.org> | 2023-10-17 00:41:51 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-17 00:41:51 (GMT) |
commit | cc71cc925662cb089b5c6fe17df00d00045dfd71 (patch) | |
tree | 66629945768e18b3ec3ec33a02f9a78f018847c2 /Lib/test | |
parent | cf9c25c719ba9b0f5bde90fc8b8bba7942d10151 (diff) | |
download | cpython-cc71cc925662cb089b5c6fe17df00d00045dfd71.zip cpython-cc71cc925662cb089b5c6fe17df00d00045dfd71.tar.gz cpython-cc71cc925662cb089b5c6fe17df00d00045dfd71.tar.bz2 |
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>
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_stable_abi_ctypes.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_stable_abi_ctypes.py b/Lib/test/test_stable_abi_ctypes.py index e06f9ca..0c831c4 100644 --- a/Lib/test/test_stable_abi_ctypes.py +++ b/Lib/test/test_stable_abi_ctypes.py @@ -418,6 +418,10 @@ SYMBOL_NAMES = ( "PyMem_Calloc", "PyMem_Free", "PyMem_Malloc", + "PyMem_RawCalloc", + "PyMem_RawFree", + "PyMem_RawMalloc", + "PyMem_RawRealloc", "PyMem_Realloc", "PyMemberDescr_Type", "PyMember_GetOne", |