Issue #21354: PyCFunction_New function is exposed by python DLL again.
diff --git a/Objects/methodobject.c b/Objects/methodobject.c
index f2616d4..9b6e5e4 100644
--- a/Objects/methodobject.c
+++ b/Objects/methodobject.c
@@ -16,7 +16,7 @@
 /* undefine macro trampoline to PyCFunction_NewEx */
 #undef PyCFunction_New
 
-PyObject *
+PyAPI_FUNC(PyObject *)
 PyCFunction_New(PyMethodDef *ml, PyObject *self)
 {
     return PyCFunction_NewEx(ml, self, NULL);