mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
gh-93937, C API: Move PyFrame_GetBack() to Python.h (#93938)
Move the follow functions and type from frameobject.h to pyframe.h, so the standard <Python.h> provide frame getter functions: * PyFrame_Check() * PyFrame_GetBack() * PyFrame_GetBuiltins() * PyFrame_GetGenerator() * PyFrame_GetGlobals() * PyFrame_GetLasti() * PyFrame_GetLocals() * PyFrame_Type Remove #include "frameobject.h" from many C files. It's no longer needed.
This commit is contained in:
parent
2664d9aacf
commit
27b9894033
21 changed files with 61 additions and 28 deletions
|
|
@ -167,6 +167,7 @@
|
|||
<ClInclude Include="..\Include\cpython\pydebug.h" />
|
||||
<ClInclude Include="..\Include\cpython\pyerrors.h" />
|
||||
<ClInclude Include="..\Include\cpython\pyfpe.h" />
|
||||
<ClInclude Include="..\Include\cpython\pyframe.h" />
|
||||
<ClInclude Include="..\Include\cpython\pylifecycle.h" />
|
||||
<ClInclude Include="..\Include\cpython\pymem.h" />
|
||||
<ClInclude Include="..\Include\cpython\pystate.h" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue