diff options
Diffstat (limited to 'Python/pystate.c')
-rw-r--r-- | Python/pystate.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Python/pystate.c b/Python/pystate.c index 8500001..edf2f62 100644 --- a/Python/pystate.c +++ b/Python/pystate.c @@ -1410,7 +1410,7 @@ _PyThread_CurrentFrames(void) for (i = runtime->interpreters.head; i != NULL; i = i->next) { PyThreadState *t; for (t = i->threads.head; t != NULL; t = t->next) { - InterpreterFrame *frame = t->cframe->current_frame; + _PyInterpreterFrame *frame = t->cframe->current_frame; if (frame == NULL) { continue; } @@ -2197,7 +2197,7 @@ push_chunk(PyThreadState *tstate, int size) return res; } -InterpreterFrame * +_PyInterpreterFrame * _PyThreadState_BumpFramePointerSlow(PyThreadState *tstate, size_t size) { assert(size < INT_MAX/sizeof(PyObject *)); @@ -2209,11 +2209,11 @@ _PyThreadState_BumpFramePointerSlow(PyThreadState *tstate, size_t size) else { tstate->datastack_top = top; } - return (InterpreterFrame *)base; + return (_PyInterpreterFrame *)base; } void -_PyThreadState_PopFrame(PyThreadState *tstate, InterpreterFrame * frame) +_PyThreadState_PopFrame(PyThreadState *tstate, _PyInterpreterFrame * frame) { assert(tstate->datastack_chunk); PyObject **base = (PyObject **)frame; |