mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
bpo-40268: Include explicitly pycore_interp.h (GH-19505)
pycore_pystate.h no longer includes pycore_interp.h: it's now included explicitly in files accessing PyInterpreterState.
This commit is contained in:
parent
8ef875028a
commit
4a3fe08353
19 changed files with 31 additions and 13 deletions
|
|
@ -4,9 +4,10 @@
|
|||
|
||||
#include "Python.h"
|
||||
#include "pycore_pylifecycle.h"
|
||||
#include "pycore_interp.h" // _PyInterpreterState.num_threads
|
||||
#include "pycore_pystate.h"
|
||||
#include "structmember.h" /* offsetof */
|
||||
#include "pythread.h"
|
||||
#include <stddef.h> // offsetof()
|
||||
|
||||
static PyObject *ThreadError;
|
||||
static PyObject *str_dict;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue