mirror of
https://github.com/python/cpython.git
synced 2025-07-08 03:45:36 +00:00
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:
parent
f780d9690f
commit
87af12bff3
15 changed files with 138 additions and 138 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue