summaryrefslogtreecommitdiff
path: root/Objects/methodobject.c
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2015-04-27 17:48:50 +0300
committerAndrew Svetlov <andrew.svetlov@gmail.com>2015-04-27 17:48:50 +0300
commit9df36c9456cee5581cae484755147e50f5268f73 (patch)
treef93cb9fe0960cba2c7dfcb7c65598896a1f65b27 /Objects/methodobject.c
parent2034caa0c41b69fd5d8a30c2567b30260c380a5c (diff)
downloadcpython-git-9df36c9456cee5581cae484755147e50f5268f73.tar.gz
Issue #21354: PyCFunction_New function is exposed by python DLL again.
Diffstat (limited to 'Objects/methodobject.c')
-rw-r--r--Objects/methodobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/methodobject.c b/Objects/methodobject.c
index f2616d4ef0..9b6e5e42eb 100644
--- a/Objects/methodobject.c
+++ b/Objects/methodobject.c
@@ -16,7 +16,7 @@ static int numfree = 0;
/* 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);