mirror of
https://github.com/python/cpython.git
synced 2026-02-22 07:00:51 +00:00
gh-135906: Test more internal headers in test_cext/test_cppext (#144751)
This commit is contained in:
parent
e66f4a5a9c
commit
b488f338cf
2 changed files with 13 additions and 1 deletions
|
|
@ -15,11 +15,20 @@
|
|||
|
||||
#ifdef TEST_INTERNAL_C_API
|
||||
// gh-135906: Check for compiler warnings in the internal C API
|
||||
// - Cython uses pycore_critical_section.h, pycore_frame.h and
|
||||
// pycore_template.h.
|
||||
// - greenlet uses pycore_frame.h, pycore_interpframe_structs.h and
|
||||
// pycore_interpframe.h.
|
||||
# include "internal/pycore_frame.h"
|
||||
# include "internal/pycore_interpframe_structs.h"
|
||||
# include "internal/pycore_template.h"
|
||||
|
||||
// mimalloc emits compiler warnings on Windows.
|
||||
# if !defined(MS_WINDOWS)
|
||||
# include "internal/pycore_backoff.h"
|
||||
# include "internal/pycore_cell.h"
|
||||
# include "internal/pycore_critical_section.h"
|
||||
# include "internal/pycore_interpframe.h"
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue