File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515
1616#ifdef TEST_INTERNAL_C_API
1717 // gh-135906: Check for compiler warnings in the internal C API.
18- // - Cython uses pycore_frame.h.
18+ // - Cython uses pycore_critical_section.h, pycore_frame.h and
19+ // pycore_template.h.
1920 // - greenlet uses pycore_frame.h, pycore_interpframe_structs.h and
2021 // pycore_interpframe.h.
22+ # include "internal/pycore_critical_section.h"
2123# include "internal/pycore_frame.h"
2224# include "internal/pycore_gc.h"
2325# include "internal/pycore_interp.h"
2426# include "internal/pycore_interpframe.h"
2527# include "internal/pycore_interpframe_structs.h"
2628# include "internal/pycore_object.h"
2729# include "internal/pycore_pystate.h"
30+ # include "internal/pycore_template.h"
2831#endif
2932
3033#ifndef MODULE_NAME
Original file line number Diff line number Diff line change 1515
1616#ifdef TEST_INTERNAL_C_API
1717 // gh-135906: Check for compiler warnings in the internal C API
18+ // - Cython uses pycore_critical_section.h, pycore_frame.h and
19+ // pycore_template.h.
20+ // - greenlet uses pycore_frame.h, pycore_interpframe_structs.h and
21+ // pycore_interpframe.h.
22+ # include " internal/pycore_critical_section.h"
1823# include " internal/pycore_frame.h"
24+ # include " internal/pycore_interpframe.h"
25+ # include " internal/pycore_interpframe_structs.h"
26+ # include " internal/pycore_template.h"
27+
1928 // mimalloc emits compiler warnings on Windows.
2029# if !defined(MS_WINDOWS)
2130# include " internal/pycore_backoff.h"
You can’t perform that action at this time.
0 commit comments