]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-1635741: Fix PyModule_AddObjectRef to use EXPORT_FUNC (GH-24205)
authorDong-hee Na <donghee.na@python.org>
Wed, 13 Jan 2021 10:15:40 +0000 (19:15 +0900)
committerGitHub <noreply@github.com>
Wed, 13 Jan 2021 10:15:40 +0000 (19:15 +0900)
PC/python3dll.c

index fa44a46fb7622b1b0fa311c4e117c45996c4128a..683bba3a9364d13042698d5f5415214a827218a3 100644 (file)
@@ -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)