diff options
author | Jeroen Demeyer <J.Demeyer@UGent.be> | 2019-07-05 12:48:24 (GMT) |
---|---|---|
committer | Petr Viktorin <encukou@gmail.com> | 2019-07-05 12:48:24 (GMT) |
commit | 0d722f3cd602e5f5492f9c65c8af57ea9d3743b6 (patch) | |
tree | e64e73f12cbad55824a13f3e7871051b9b34d98c /Include | |
parent | 6e43d07324ca799118e805751a10a7eff71d5a04 (diff) | |
download | cpython-0d722f3cd602e5f5492f9c65c8af57ea9d3743b6.zip cpython-0d722f3cd602e5f5492f9c65c8af57ea9d3743b6.tar.gz cpython-0d722f3cd602e5f5492f9c65c8af57ea9d3743b6.tar.bz2 |
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 d711485..ead269d 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 f4a6682..b438471 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 */ |