Kaydet (Commit) a7f56bc0 authored tarafından Raymond Hettinger's avatar Raymond Hettinger

Get ceval.c to compile again by moving declarations before other statments.

üst f6af76da
......@@ -3484,8 +3484,9 @@ call_function(PyObject ***pp_stack, int oparg
*/
if (PyCFunction_Check(func) && nk == 0) {
int flags = PyCFunction_GET_FLAGS(func);
PCALL(PCALL_CFUNCTION);
PyThreadState *tstate = PyThreadState_GET();
PCALL(PCALL_CFUNCTION);
if (flags & (METH_NOARGS | METH_O)) {
PyCFunction meth = PyCFunction_GET_FUNCTION(func);
PyObject *self = PyCFunction_GET_SELF(func);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment