commit | b8f704d2190125a7750b50cd9b67267b9c20fd43 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Tue Apr 28 17:07:12 2020 +0200 |
committer | GitHub <noreply@github.com> | Tue Apr 28 17:07:12 2020 +0200 |
tree | 291e738b27f0c804e51b8b5cf93821d8c89d5dc7 | |
parent | 7c59d7c9860cdbaf4a9c26c9142aebd3259d046e [diff] |
bpo-40421: Add Include/cpython/code.h header file (GH-19756) 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. Give a name to 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.