summaryrefslogtreecommitdiffstats
path: root/Include/internal/pycore_global_objects.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/internal/pycore_global_objects.h')
-rw-r--r--Include/internal/pycore_global_objects.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/Include/internal/pycore_global_objects.h b/Include/internal/pycore_global_objects.h
index 9957da1..64d9384 100644
--- a/Include/internal/pycore_global_objects.h
+++ b/Include/internal/pycore_global_objects.h
@@ -23,13 +23,6 @@ extern "C" {
// Only immutable objects should be considered runtime-global.
// All others must be per-interpreter.
-#define _Py_CACHED_OBJECT(NAME) \
- _PyRuntime.cached_objects.NAME
-
-struct _Py_cached_objects {
- PyObject *interned_strings;
-};
-
#define _Py_GLOBAL_OBJECT(NAME) \
_PyRuntime.static_objects.NAME
#define _Py_SINGLETON(NAME) \
@@ -65,6 +58,8 @@ struct _Py_static_objects {
(interp)->cached_objects.NAME
struct _Py_interp_cached_objects {
+ PyObject *interned_strings;
+
/* AST */
PyObject *str_replace_inf;