[Python-checkins] python/dist/src/Python ceval.c,2.405,2.406
rhettinger at users.sourceforge.net
rhettinger at users.sourceforge.net
Sat Jun 26 00:34:35 EDT 2004
Update of /cvsroot/python/python/dist/src/Python
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3782
Modified Files:
ceval.c
Log Message:
Get ceval.c to compile again by moving declarations before other statments.
Index: ceval.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/ceval.c,v
retrieving revision 2.405
retrieving revision 2.406
diff -C2 -d -r2.405 -r2.406
*** ceval.c 25 Jun 2004 23:31:06 -0000 2.405
--- ceval.c 26 Jun 2004 04:34:33 -0000 2.406
***************
*** 3485,3490 ****
if (PyCFunction_Check(func) && nk == 0) {
int flags = PyCFunction_GET_FLAGS(func);
- PCALL(PCALL_CFUNCTION);
PyThreadState *tstate = PyThreadState_GET();
if (flags & (METH_NOARGS | METH_O)) {
PyCFunction meth = PyCFunction_GET_FUNCTION(func);
--- 3485,3491 ----
if (PyCFunction_Check(func) && nk == 0) {
int flags = PyCFunction_GET_FLAGS(func);
PyThreadState *tstate = PyThreadState_GET();
+
+ PCALL(PCALL_CFUNCTION);
if (flags & (METH_NOARGS | METH_O)) {
PyCFunction meth = PyCFunction_GET_FUNCTION(func);
More information about the Python-checkins
mailing list