diff options
author | Victor Stinner <vstinner@redhat.com> | 2018-10-31 23:52:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-31 23:52:28 (GMT) |
commit | 27e2d1f21975dfb8c0ddcb192fa0f45a51b7977e (patch) | |
tree | 351096bf87da77ee8c4b08362e850e9affd18f8f /Modules/_io | |
parent | 3a228ab17c2a9cffd1a2f15f30d6209768de20a6 (diff) | |
download | cpython-27e2d1f21975dfb8c0ddcb192fa0f45a51b7977e.zip cpython-27e2d1f21975dfb8c0ddcb192fa0f45a51b7977e.tar.gz cpython-27e2d1f21975dfb8c0ddcb192fa0f45a51b7977e.tar.bz2 |
bpo-35081: Add pycore_ prefix to internal header files (GH-10263)
* Rename Include/internal/ header files:
* pyatomic.h -> pycore_atomic.h
* ceval.h -> pycore_ceval.h
* condvar.h -> pycore_condvar.h
* context.h -> pycore_context.h
* pygetopt.h -> pycore_getopt.h
* gil.h -> pycore_gil.h
* hamt.h -> pycore_hamt.h
* hash.h -> pycore_hash.h
* mem.h -> pycore_mem.h
* pystate.h -> pycore_state.h
* warnings.h -> pycore_warnings.h
* PCbuild project, Makefile.pre.in, Modules/Setup: add the
Include/internal/ directory to the search paths of header files.
* Update includes. For example, replace #include "internal/mem.h"
with #include "pycore_mem.h".
Diffstat (limited to 'Modules/_io')
-rw-r--r-- | Modules/_io/bufferedio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_io/bufferedio.c b/Modules/_io/bufferedio.c index 2eb5262..24ae963 100644 --- a/Modules/_io/bufferedio.c +++ b/Modules/_io/bufferedio.c @@ -9,7 +9,7 @@ #define PY_SSIZE_T_CLEAN #include "Python.h" -#include "internal/pystate.h" +#include "pycore_state.h" #include "structmember.h" #include "pythread.h" #include "_iomodule.h" |