File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
Expand file tree Collapse file tree 2 files changed +13
-1
lines changed 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.
1822# include "internal/pycore_frame.h"
23+ # include "internal/pycore_interpframe_structs.h"
24+ # include "internal/pycore_template.h"
25+
1926 // mimalloc emits compiler warnings on Windows.
2027# if !defined(MS_WINDOWS)
2128# include "internal/pycore_backoff.h"
2229# include "internal/pycore_cell.h"
30+ # include "internal/pycore_critical_section.h"
31+ # include "internal/pycore_interpframe.h"
2332# endif
2433#endif
2534
You can’t perform that action at this time.
0 commit comments