bpo-28254: Add PyGC_ functions to the stable ABI manifest (GH-25720)

Co-authored-by: Senthil Kumaran <senthil@uthcode.com>
Co-authored-by: scoder <stefan_ml@behnel.de>
This commit is contained in:
Petr Viktorin 2021-04-29 15:46:48 +02:00 committed by GitHub
parent c76da79b37
commit 14fc2bdfab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 1 deletions

View File

@ -2139,6 +2139,15 @@ const Py_am_send
added 3.10
# New GC control functions in Py3.10 (https://bugs.python.org/issue28254)
function PyGC_Disable
added 3.10
function PyGC_Enable
added 3.10
function PyGC_IsEnabled
added 3.10
# (Detailed comments aren't really needed for further entries: from here on
# we can use version control logs.)

View File

@ -271,6 +271,9 @@ EXPORT_FUNC(PyFrame_GetCode)
EXPORT_FUNC(PyFrame_GetLineNumber)
EXPORT_FUNC(PyFrozenSet_New)
EXPORT_FUNC(PyGC_Collect)
EXPORT_FUNC(PyGC_Disable)
EXPORT_FUNC(PyGC_Enable)
EXPORT_FUNC(PyGC_IsEnabled)
EXPORT_FUNC(PyGILState_Ensure)
EXPORT_FUNC(PyGILState_GetThisThreadState)
EXPORT_FUNC(PyGILState_Release)