summaryrefslogtreecommitdiffstats
path: root/PC/python3dll.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-12-16 14:08:23 (GMT)
committerGitHub <noreply@github.com>2020-12-16 14:08:23 (GMT)
commitfcc6935384b933fbe1a1ef659ed455a3b74c849a (patch)
tree9f0b5208b1ae4ee474713bec77e22ce922964711 /PC/python3dll.c
parent5274b682bc93a04da8a69742528ac7f64633a96e (diff)
downloadcpython-fcc6935384b933fbe1a1ef659ed455a3b74c849a.zip
cpython-fcc6935384b933fbe1a1ef659ed455a3b74c849a.tar.gz
cpython-fcc6935384b933fbe1a1ef659ed455a3b74c849a.tar.bz2
Add symbols of the stable ABI to python3dll.c (GH-23598)
Add the following symbols to python3dll.c: * PyFrame_GetCode (bpo-40421) * PyFrame_GetLineNumber (bpo-40421) * PyModule_AddObjectRef (bpo-1635741) * PyObject_CallNoArgs (bpo-37194) * PyThreadState_GetFrame (bpo-39947) * PyThreadState_GetID (bpo-39947) * PyThreadState_GetInterpreter (bpo-39947)
Diffstat (limited to 'PC/python3dll.c')
-rw-r--r--PC/python3dll.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/PC/python3dll.c b/PC/python3dll.c
index 9eb81e3..fa44a46 100644
--- a/PC/python3dll.c
+++ b/PC/python3dll.c
@@ -257,6 +257,8 @@ EXPORT_FUNC(PyFloat_FromString)
EXPORT_FUNC(PyFloat_GetInfo)
EXPORT_FUNC(PyFloat_GetMax)
EXPORT_FUNC(PyFloat_GetMin)
+EXPORT_FUNC(PyFrame_GetLineNumber)
+EXPORT_FUNC(PyFrame_GetCode)
EXPORT_FUNC(PyFrozenSet_New)
EXPORT_FUNC(PyGC_Collect)
EXPORT_FUNC(PyGILState_Ensure)
@@ -405,6 +407,7 @@ EXPORT_FUNC(PyObject_CallFunction)
EXPORT_FUNC(PyObject_CallFunctionObjArgs)
EXPORT_FUNC(PyObject_CallMethod)
EXPORT_FUNC(PyObject_CallMethodObjArgs)
+EXPORT_FUNC(PyObject_CallNoArgs)
EXPORT_FUNC(PyObject_CallObject)
EXPORT_FUNC(PyObject_Calloc)
EXPORT_FUNC(PyObject_ClearWeakRefs)
@@ -535,6 +538,9 @@ EXPORT_FUNC(PyThreadState_Delete)
EXPORT_FUNC(PyThreadState_DeleteCurrent)
EXPORT_FUNC(PyThreadState_Get)
EXPORT_FUNC(PyThreadState_GetDict)
+EXPORT_FUNC(PyThreadState_GetFrame)
+EXPORT_FUNC(PyThreadState_GetID)
+EXPORT_FUNC(PyThreadState_GetInterpreter)
EXPORT_FUNC(PyThreadState_New)
EXPORT_FUNC(PyThreadState_SetAsyncExc)
EXPORT_FUNC(PyThreadState_Swap)
@@ -791,6 +797,7 @@ EXPORT_DATA(PyMemoryView_Type)
EXPORT_DATA(PyMethodDescr_Type)
EXPORT_DATA(PyModule_Type)
EXPORT_DATA(PyModuleDef_Type)
+EXPORT_DATA(PyModule_AddObjectRef)
EXPORT_DATA(PyNullImporter_Type)
EXPORT_DATA(PyODict_Type)
EXPORT_DATA(PyODictItems_Type)