[Python-checkins] bpo-1635741: Fix PyModule_AddObjectRef to use EXPORT_FUNC (GH-24205)

corona10 webhook-mailer at python.org
Wed Jan 13 05:15:50 EST 2021


https://github.com/python/cpython/commit/2396614b8958ad202378fd71a598eb4106ac5896
commit: 2396614b8958ad202378fd71a598eb4106ac5896
branch: master
author: Dong-hee Na <donghee.na at python.org>
committer: corona10 <donghee.na92 at gmail.com>
date: 2021-01-13T19:15:40+09:00
summary:

bpo-1635741: Fix PyModule_AddObjectRef to use EXPORT_FUNC (GH-24205)

files:
M PC/python3dll.c

diff --git a/PC/python3dll.c b/PC/python3dll.c
index fa44a46fb7622..683bba3a9364d 100644
--- a/PC/python3dll.c
+++ b/PC/python3dll.c
@@ -346,6 +346,7 @@ EXPORT_FUNC(PyMemoryView_GetContiguous)
 EXPORT_FUNC(PyModule_AddFunctions)
 EXPORT_FUNC(PyModule_AddIntConstant)
 EXPORT_FUNC(PyModule_AddObject)
+EXPORT_FUNC(PyModule_AddObjectRef)
 EXPORT_FUNC(PyModule_AddStringConstant)
 EXPORT_FUNC(PyModule_AddType)
 EXPORT_FUNC(PyModule_Create2)
@@ -797,7 +798,6 @@ 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)



More information about the Python-checkins mailing list