Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(15)

Unified Diff: Include/methodobject.h

Issue 29259: Add tp_fastcall to PyTypeObject: support FASTCALL calling convention for all callable objects
Patch Set: Created 3 years ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Include/descrobject.h ('k') | Include/object.h » ('j') | Objects/abstract.c » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Include/methodobject.h Wed Jan 25 23:33:27 2017 +0100
+++ b/Include/methodobject.h Thu Jan 26 02:43:18 2017 +0100
@@ -16,8 +16,6 @@ PyAPI_DATA(PyTypeObject) PyCFunction_Typ
#define PyCFunction_Check(op) (Py_TYPE(op) == &PyCFunction_Type)
typedef PyObject *(*PyCFunction)(PyObject *, PyObject *);
-typedef PyObject *(*_PyCFunctionFast) (PyObject *self, PyObject **args,
- Py_ssize_t nargs, PyObject *kwnames);
typedef PyObject *(*PyCFunctionWithKeywords)(PyObject *, PyObject *,
PyObject *);
typedef PyObject *(*PyNoArgsFunction)(PyObject *);
@@ -96,12 +94,12 @@ typedef struct {
PyObject *m_weakreflist; /* List of weak references */
} PyCFunctionObject;
-PyAPI_FUNC(PyObject *) _PyMethodDef_RawFastCallDict(
+PyAPI_FUNC(PyObject *) _PyMethodDef_RawFastCallKeywords(
PyMethodDef *method,
PyObject *self,
PyObject **args,
Py_ssize_t nargs,
- PyObject *kwargs);
+ PyObject *kwnames);
#endif
PyAPI_FUNC(int) PyCFunction_ClearFreeList(void);
« no previous file with comments | « Include/descrobject.h ('k') | Include/object.h » ('j') | Objects/abstract.c » ('J')

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+