diff options
author | Victor Stinner <vstinner@python.org> | 2023-08-24 15:28:35 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-24 15:28:35 (GMT) |
commit | ea871c9b0f08399e440baed95a3e5793d6e0ea66 (patch) | |
tree | f53536afdcfdf37e201879f365c9c7a93cbae7b4 /Include/internal/pycore_obmalloc.h | |
parent | 3f7e93be51699fca6ee72c656278732b47cca833 (diff) | |
download | cpython-ea871c9b0f08399e440baed95a3e5793d6e0ea66.zip cpython-ea871c9b0f08399e440baed95a3e5793d6e0ea66.tar.gz cpython-ea871c9b0f08399e440baed95a3e5793d6e0ea66.tar.bz2 |
gh-107211: No longer export internal functions (6) (#108424)
No longer export these 5 internal C API functions:
* _PyArena_AddPyObject()
* _PyArena_Free()
* _PyArena_Malloc()
* _PyArena_New()
* _Py_FatalRefcountErrorFunc()
Change comment style to "// comment" and add comment explaining why
other functions have to be exported.
Diffstat (limited to 'Include/internal/pycore_obmalloc.h')
-rw-r--r-- | Include/internal/pycore_obmalloc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/internal/pycore_obmalloc.h b/Include/internal/pycore_obmalloc.h index ca2a041..b0dbf53 100644 --- a/Include/internal/pycore_obmalloc.h +++ b/Include/internal/pycore_obmalloc.h @@ -687,7 +687,7 @@ extern void _PyInterpreterState_FinalizeAllocatedBlocks(PyInterpreterState *); #ifdef WITH_PYMALLOC -// Export the symbol for the 3rd party guppy3 project +// Export the symbol for the 3rd party 'guppy3' project PyAPI_FUNC(int) _PyObject_DebugMallocStats(FILE *out); #endif |