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
commit2da0dc782446a9622abd55df5e05d1a1bbb4b3ab (patch)
tree351e2194e05ef89d5ff955c96c8b96e6376c7cd7 /Objects/methodobject.c
parenta471d37a7749e53769a27304280827cc7e2f4248 (diff)
downloadcpython-2da0dc782446a9622abd55df5e05d1a1bbb4b3ab.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);