File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ struct _Py_float_state {
36
36
37
37
typedef struct _Py_freelist_state {
38
38
struct _Py_float_state float_state ;
39
- struct _Py_list_state list ;
39
+ struct _Py_list_state list_state ;
40
40
} _PyFreeListState ;
41
41
42
42
#ifdef __cplusplus
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ get_list_state(void)
26
26
{
27
27
_PyFreeListState * state = _PyFreeListState_GET ();
28
28
assert (state != NULL );
29
- return & state -> list ;
29
+ return & state -> list_state ;
30
30
}
31
31
#endif
32
32
124
124
_PyList_ClearFreeList (_PyFreeListState * freelist_state , int is_finalization )
125
125
{
126
126
#if PyList_MAXFREELIST > 0
127
- struct _Py_list_state * state = & freelist_state -> list ;
127
+ struct _Py_list_state * state = & freelist_state -> list_state ;
128
128
while (state -> numfree > 0 ) {
129
129
PyListObject * op = state -> free_list [-- state -> numfree ];
130
130
assert (PyList_CheckExact (op ));
You can’t perform that action at this time.
0 commit comments