mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
bpo-35081: Rename internal headers (GH-10275)
Rename Include/internal/ headers: * pycore_hash.h -> pycore_pyhash.h * pycore_lifecycle.h -> pycore_pylifecycle.h * pycore_mem.h -> pycore_pymem.h * pycore_state.h -> pycore_pystate.h Add missing headers to Makefile.pre.in and PCbuild: * pycore_condvar.h. * pycore_hamt.h * pycore_pyhash.h
This commit is contained in:
parent
19c46a4c96
commit
621cebe81b
65 changed files with 105 additions and 98 deletions
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
#include "Python.h"
|
||||
#include "pycore_mem.h"
|
||||
#include "pycore_state.h"
|
||||
#include "pycore_pymem.h"
|
||||
#include "pycore_pystate.h"
|
||||
#include "structmember.h"
|
||||
|
||||
/* _functools module written and maintained
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
#define PY_SSIZE_T_CLEAN
|
||||
#include "Python.h"
|
||||
#include "pycore_state.h"
|
||||
#include "pycore_pystate.h"
|
||||
#include "structmember.h"
|
||||
#include "pythread.h"
|
||||
#include "_iomodule.h"
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
/* Interface to Sjoerd's portable C thread library */
|
||||
|
||||
#include "Python.h"
|
||||
#include "pycore_state.h"
|
||||
#include "pycore_pystate.h"
|
||||
#include "structmember.h" /* offsetof */
|
||||
#include "pythread.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
#include "Python.h"
|
||||
#include "frameobject.h"
|
||||
#include "pycore_state.h"
|
||||
#include "pycore_pystate.h"
|
||||
|
||||
|
||||
static char *
|
||||
|
|
|
|||
|
|
@ -25,8 +25,8 @@
|
|||
|
||||
#include "Python.h"
|
||||
#include "pycore_context.h"
|
||||
#include "pycore_mem.h"
|
||||
#include "pycore_state.h"
|
||||
#include "pycore_pymem.h"
|
||||
#include "pycore_pystate.h"
|
||||
#include "frameobject.h" /* for PyFrame_ClearFreeList */
|
||||
#include "pydtrace.h"
|
||||
#include "pytime.h" /* for _PyTime_GetMonotonicClock() */
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
#include "osdefs.h"
|
||||
#include "pycore_fileutils.h"
|
||||
#include "pycore_pathconfig.h"
|
||||
#include "pycore_state.h"
|
||||
#include "pycore_pystate.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <string.h>
|
||||
|
|
|
|||
|
|
@ -3,10 +3,10 @@
|
|||
#include "Python.h"
|
||||
#include "osdefs.h"
|
||||
#include "pycore_getopt.h"
|
||||
#include "pycore_lifecycle.h"
|
||||
#include "pycore_mem.h"
|
||||
#include "pycore_pathconfig.h"
|
||||
#include "pycore_state.h"
|
||||
#include "pycore_pylifecycle.h"
|
||||
#include "pycore_pymem.h"
|
||||
#include "pycore_pystate.h"
|
||||
|
||||
#include <locale.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
#else
|
||||
#include "winreparse.h"
|
||||
#endif
|
||||
#include "pycore_state.h"
|
||||
#include "pycore_pystate.h"
|
||||
|
||||
/* On android API level 21, 'AT_EACCESS' is not declared although
|
||||
* HAVE_FACCESSAT is defined. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue