bpo-46836: Rename InterpreterFrame to _PyInterpreterFrame (GH-31583)

Rename also struct _interpreter_frame to struct _PyInterpreterFrame.

Reduce risk of name conflicts if a project includes pycore_frame.h.
This commit is contained in:
Victor Stinner 2022-02-25 16:22:00 +01:00 committed by GitHub
parent f780d9690f
commit 87af12bff3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 138 additions and 138 deletions

View file

@ -1167,7 +1167,7 @@ done:
This function is signal safe. */
static void
dump_frame(int fd, InterpreterFrame *frame)
dump_frame(int fd, _PyInterpreterFrame *frame)
{
PyCodeObject *code = frame->f_code;
PUTS(fd, " File ");
@ -1205,7 +1205,7 @@ dump_frame(int fd, InterpreterFrame *frame)
static void
dump_traceback(int fd, PyThreadState *tstate, int write_header)
{
InterpreterFrame *frame;
_PyInterpreterFrame *frame;
unsigned int depth;
if (write_header) {