From 6353c21b78a3d91e7cd7810f1c00258a34e85fe7 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Sat, 26 Aug 2023 03:18:09 +0200 Subject: gh-106320: Remove private _PyLong_FileDescriptor_Converter() (#108503) Move the private _PyLong converter functions to the internal C API * _PyLong_FileDescriptor_Converter(): moved to pycore_fileutils.h * _PyLong_Size_t_Converter(): moved to pycore_long.h Argument Clinic now emits includes for pycore_fileutils.h and pycore_long.h when these functions are used. --- Tools/c-analyzer/c_parser/preprocessor/gcc.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Tools/c-analyzer/c_parser/preprocessor/gcc.py') diff --git a/Tools/c-analyzer/c_parser/preprocessor/gcc.py b/Tools/c-analyzer/c_parser/preprocessor/gcc.py index 62538f53c25..de9a2484de8 100644 --- a/Tools/c-analyzer/c_parser/preprocessor/gcc.py +++ b/Tools/c-analyzer/c_parser/preprocessor/gcc.py @@ -12,13 +12,16 @@ NEED_BUILD_CORE = { 'multibytecodec.h', 'socketmodule.h', - # Argument Clinic ".c.h" files + # Argument Clinic ".c.h" header files '_testclinic.c.h', '_testclinic_depr.c.h', + '_winapi.c.h', + 'fcntlmodule.c.h', 'overlapped.c.h', 'posixmodule.c.h', 'selectmodule.c.h', 'sha3module.c.h', + 'termios.c.h', } TOOL = 'gcc' -- cgit v1.2.3