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

Delta Between Two Patch Sets: Objects/funcobject.c

Issue 29259: Add tp_fastcall to PyTypeObject: support FASTCALL calling convention for all callable objects
Left Patch Set: Created 2 years, 11 months ago
Right Patch Set: Created 2 years, 11 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
LEFTRIGHT
(Both sides are equal)
1 1
2 /* Function object implementation */ 2 /* Function object implementation */
3 3
4 #include "Python.h" 4 #include "Python.h"
5 #include "code.h" 5 #include "code.h"
6 #include "structmember.h" 6 #include "structmember.h"
7 7
8 PyObject * 8 PyObject *
9 PyFunction_NewWithQualName(PyObject *code, PyObject *globals, PyObject *qualname ) 9 PyFunction_NewWithQualName(PyObject *code, PyObject *globals, PyObject *qualname )
10 { 10 {
(...skipping 970 matching lines...) Expand 10 before | Expand all | Expand 10 after
981 PyStaticMethod_New(PyObject *callable) 981 PyStaticMethod_New(PyObject *callable)
982 { 982 {
983 staticmethod *sm = (staticmethod *) 983 staticmethod *sm = (staticmethod *)
984 PyType_GenericAlloc(&PyStaticMethod_Type, 0); 984 PyType_GenericAlloc(&PyStaticMethod_Type, 0);
985 if (sm != NULL) { 985 if (sm != NULL) {
986 Py_INCREF(callable); 986 Py_INCREF(callable);
987 sm->sm_callable = callable; 987 sm->sm_callable = callable;
988 } 988 }
989 return (PyObject *)sm; 989 return (PyObject *)sm;
990 } 990 }
LEFTRIGHT

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