diff options
author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2015-04-27 17:48:50 +0300 |
---|---|---|
committer | Andrew Svetlov <andrew.svetlov@gmail.com> | 2015-04-27 17:48:50 +0300 |
commit | 2da0dc782446a9622abd55df5e05d1a1bbb4b3ab (patch) | |
tree | 351e2194e05ef89d5ff955c96c8b96e6376c7cd7 /Objects/methodobject.c | |
parent | a471d37a7749e53769a27304280827cc7e2f4248 (diff) | |
download | cpython-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.c | 2 |
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); |