Get ceval.c to compile again by moving declarations before other statments.
This commit is contained in:
parent
f6af76da61
commit
a7f56bc0cc
|
@ -3484,8 +3484,9 @@ call_function(PyObject ***pp_stack, int oparg
|
||||||
*/
|
*/
|
||||||
if (PyCFunction_Check(func) && nk == 0) {
|
if (PyCFunction_Check(func) && nk == 0) {
|
||||||
int flags = PyCFunction_GET_FLAGS(func);
|
int flags = PyCFunction_GET_FLAGS(func);
|
||||||
PCALL(PCALL_CFUNCTION);
|
|
||||||
PyThreadState *tstate = PyThreadState_GET();
|
PyThreadState *tstate = PyThreadState_GET();
|
||||||
|
|
||||||
|
PCALL(PCALL_CFUNCTION);
|
||||||
if (flags & (METH_NOARGS | METH_O)) {
|
if (flags & (METH_NOARGS | METH_O)) {
|
||||||
PyCFunction meth = PyCFunction_GET_FUNCTION(func);
|
PyCFunction meth = PyCFunction_GET_FUNCTION(func);
|
||||||
PyObject *self = PyCFunction_GET_SELF(func);
|
PyObject *self = PyCFunction_GET_SELF(func);
|
||||||
|
|
Loading…
Reference in New Issue