summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2015-04-27 14:49:16 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2015-04-27 14:49:16 (GMT)
commit48050cbbe7cc62e76dbd0fdbf391c183f1c2e30a (patch)
treebacb5b335d622f1f65f6de06e38a76f20073f7c4 /Objects
parent0f51d04b47e5633a2c998e48771913d7736c1ee5 (diff)
parent9df36c9456cee5581cae484755147e50f5268f73 (diff)
downloadcpython-48050cbbe7cc62e76dbd0fdbf391c183f1c2e30a.zip
cpython-48050cbbe7cc62e76dbd0fdbf391c183f1c2e30a.tar.gz
cpython-48050cbbe7cc62e76dbd0fdbf391c183f1c2e30a.tar.bz2
Merge 3.4
Diffstat (limited to 'Objects')
-rw-r--r--Objects/methodobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/methodobject.c b/Objects/methodobject.c
index b5467a4..1817722 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);