Skip to content

Commit

Permalink
bpo-1635741: Fix PyModule_AddObjectRef to use EXPORT_FUNC (pythonGH-2…
Browse files Browse the repository at this point in the history
  • Loading branch information
corona10 authored and adorilson committed Mar 11, 2021
1 parent 2644718 commit 7318cf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PC/python3dll.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 7318cf6

Please sign in to comment.