@@ -41,6 +41,7 @@ extern PyTypeObject _PyExc_MemoryError;
41
41
}, \
42
42
.interpreter_state = { \
43
43
.size = sizeof(PyInterpreterState), \
44
+ .id = offsetof(PyInterpreterState, id), \
44
45
.next = offsetof(PyInterpreterState, next), \
45
46
.threads_head = offsetof(PyInterpreterState, threads.head), \
46
47
.gc = offsetof(PyInterpreterState, gc), \
@@ -59,6 +60,8 @@ extern PyTypeObject _PyExc_MemoryError;
59
60
.current_frame = offsetof(PyThreadState, current_frame), \
60
61
.thread_id = offsetof(PyThreadState, thread_id), \
61
62
.native_thread_id = offsetof(PyThreadState, native_thread_id), \
63
+ .datastack_chunk = offsetof(PyThreadState, datastack_chunk), \
64
+ .status = offsetof(PyThreadState, _status), \
62
65
}, \
63
66
.interpreter_frame = { \
64
67
.size = sizeof(_PyInterpreterFrame), \
@@ -72,6 +75,7 @@ extern PyTypeObject _PyExc_MemoryError;
72
75
.size = sizeof(PyCodeObject), \
73
76
.filename = offsetof(PyCodeObject, co_filename), \
74
77
.name = offsetof(PyCodeObject, co_name), \
78
+ .qualname = offsetof(PyCodeObject, co_qualname), \
75
79
.linetable = offsetof(PyCodeObject, co_linetable), \
76
80
.firstlineno = offsetof(PyCodeObject, co_firstlineno), \
77
81
.argcount = offsetof(PyCodeObject, co_argcount), \
@@ -97,6 +101,10 @@ extern PyTypeObject _PyExc_MemoryError;
97
101
.length = offsetof(PyUnicodeObject, _base._base.length), \
98
102
.asciiobject_size = sizeof(PyASCIIObject), \
99
103
}, \
104
+ .gc = { \
105
+ .size = sizeof(struct _gc_runtime_state), \
106
+ .collecting = offsetof(struct _gc_runtime_state, collecting), \
107
+ }, \
100
108
}, \
101
109
.allocators = { \
102
110
.standard = _pymem_allocators_standard_INIT(runtime), \
0 commit comments