diff options
author | Dong-hee Na <donghee.na@python.org> | 2021-01-13 10:15:40 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-13 10:15:40 (GMT) |
commit | 2396614b8958ad202378fd71a598eb4106ac5896 (patch) | |
tree | 477e8d42a16f5d57bba6d030a2c730a497a6a9bf /PC | |
parent | c314e60388282d9829762fb6c30b12e2807caa19 (diff) | |
download | cpython-2396614b8958ad202378fd71a598eb4106ac5896.zip cpython-2396614b8958ad202378fd71a598eb4106ac5896.tar.gz cpython-2396614b8958ad202378fd71a598eb4106ac5896.tar.bz2 |
bpo-1635741: Fix PyModule_AddObjectRef to use EXPORT_FUNC (GH-24205)
Diffstat (limited to 'PC')
-rw-r--r-- | PC/python3dll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/python3dll.c b/PC/python3dll.c index fa44a46..683bba3 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) |