diff options
| author | Jeroen Demeyer <J.Demeyer@UGent.be> | 2019-07-05 14:48:24 +0200 |
|---|---|---|
| committer | Petr Viktorin <encukou@gmail.com> | 2019-07-05 14:48:24 +0200 |
| commit | 0d722f3cd602e5f5492f9c65c8af57ea9d3743b6 (patch) | |
| tree | e64e73f12cbad55824a13f3e7871051b9b34d98c /Include | |
| parent | 6e43d07324ca799118e805751a10a7eff71d5a04 (diff) | |
| download | cpython-git-0d722f3cd602e5f5492f9c65c8af57ea9d3743b6.tar.gz | |
bpo-36974: separate vectorcall functions for each calling convention (GH-13781)
Diffstat (limited to 'Include')
| -rw-r--r-- | Include/descrobject.h | 3 | ||||
| -rw-r--r-- | Include/methodobject.h | 7 |
2 files changed, 0 insertions, 10 deletions
diff --git a/Include/descrobject.h b/Include/descrobject.h index d7114852c1..ead269d1d2 100644 --- a/Include/descrobject.h +++ b/Include/descrobject.h @@ -91,9 +91,6 @@ PyAPI_FUNC(PyObject *) PyDescr_NewMember(PyTypeObject *, PyAPI_FUNC(PyObject *) PyDescr_NewGetSet(PyTypeObject *, struct PyGetSetDef *); #ifndef Py_LIMITED_API - -PyAPI_FUNC(PyObject *) _PyMethodDescr_Vectorcall( - PyObject *descrobj, PyObject *const *args, size_t nargsf, PyObject *kwnames); PyAPI_FUNC(PyObject *) PyDescr_NewWrapper(PyTypeObject *, struct wrapperbase *, void *); #define PyDescr_IsData(d) (Py_TYPE(d)->tp_descr_set != NULL) diff --git a/Include/methodobject.h b/Include/methodobject.h index f4a6682830..b43847110e 100644 --- a/Include/methodobject.h +++ b/Include/methodobject.h @@ -41,13 +41,6 @@ PyAPI_FUNC(int) PyCFunction_GetFlags(PyObject *); #endif PyAPI_FUNC(PyObject *) PyCFunction_Call(PyObject *, PyObject *, PyObject *); -#ifndef Py_LIMITED_API -PyAPI_FUNC(PyObject *) _PyCFunction_Vectorcall(PyObject *func, - PyObject *const *stack, - size_t nargsf, - PyObject *kwnames); -#endif - struct PyMethodDef { const char *ml_name; /* The name of the built-in function/method */ PyCFunction ml_meth; /* The C function that implements it */ |
