FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

bpo-40421: Add Include/cpython/code.h header file by vstinner · Pull Request #19756 · python/cpython · GitHub

/ cpython Public

bpo-40421: Add Include/cpython/code.h header file - #19756

Merged
vstinner merged 1 commit into
python:masterfrom
vstinner:pyframe
Apr 28, 2020
Merged

bpo-40421: Add Include/cpython/code.h header file#19756
vstinner merged 1 commit into
python:masterfrom
vstinner:pyframe

Conversation

vstinner commented Apr 28, 2020
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

bpo-35134, bpo-40421: Add Include/cpython/code.h header file.

code.h now defines PyCodeObject type in the limited C API. It is now
included by Python.h.

Name the PyCodeObject structure: it is now called
"struct PyCodeObject". So it becomes possible to define PyCodeObject
as "struct PyCodeObject" in the limited C API without defining the
structure.

https://bugs.python.org/issue40421

bpo-35134, bpo-40421: Add Include/cpython/code.h header file.

code.h now defines PyCodeObject type in the limited C API. It is now
included by Python.h.

Name the PyCodeObject structure: it is now called
"struct PyCodeObject". So it becomes possible to define PyCodeObject
as "struct PyCodeObject" in the limited C API without defining the
structure.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL