mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
bpo-45431: Rename CFrame to _PyCFrame in the C API (GH-31584)
Rename also struct _cframe to struct _PyCFrame. Add a comment suggesting using public functions rather than using directly the private _PyCFrame structure.
This commit is contained in:
parent
4558af5a8f
commit
7496f95873
3 changed files with 12 additions and 10 deletions
|
@ -59,7 +59,7 @@ typedef struct _PyInterpreterFrame {
|
|||
int f_lasti; /* Last instruction if called */
|
||||
int stacktop; /* Offset of TOS from localsplus */
|
||||
PyFrameState f_state; /* What state the frame is in */
|
||||
bool is_entry; // Whether this is the "root" frame for the current CFrame.
|
||||
bool is_entry; // Whether this is the "root" frame for the current _PyCFrame.
|
||||
bool is_generator;
|
||||
PyObject *localsplus[1];
|
||||
} _PyInterpreterFrame;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue