diff options
author | Victor Stinner <vstinner@python.org> | 2023-08-26 02:24:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-26 02:24:27 +0200 |
commit | 713afb8804666405f29115cf459b591308e3ab54 (patch) | |
tree | db6bdfbbf19f1b222c4d6a6e027efd6a4202e96c /Tools/c-analyzer/c_parser/preprocessor/gcc.py | |
parent | 86bc9e35c4aaf3bcc045ddd998844ffb64fec3a2 (diff) | |
download | cpython-713afb8804666405f29115cf459b591308e3ab54.tar.gz cpython-713afb8804666405f29115cf459b591308e3ab54.zip |
gh-106320: Remove private _PyLong converter functions (#108499)
Move these private functions to the internal C API (pycore_long.h):
* _PyLong_UnsignedInt_Converter()
* _PyLong_UnsignedLongLong_Converter()
* _PyLong_UnsignedLong_Converter()
* _PyLong_UnsignedShort_Converter()
Argument Clinic now emits #include "pycore_long.h" when these
functions are used.
Diffstat (limited to 'Tools/c-analyzer/c_parser/preprocessor/gcc.py')
-rw-r--r-- | Tools/c-analyzer/c_parser/preprocessor/gcc.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Tools/c-analyzer/c_parser/preprocessor/gcc.py b/Tools/c-analyzer/c_parser/preprocessor/gcc.py index 415a2ba63df..62538f53c25 100644 --- a/Tools/c-analyzer/c_parser/preprocessor/gcc.py +++ b/Tools/c-analyzer/c_parser/preprocessor/gcc.py @@ -7,9 +7,18 @@ from . import common as _common # macro. Usually it's defined by the C file which includes it. # Other header files have a similar issue. NEED_BUILD_CORE = { + # Header ".h" files 'cjkcodecs.h', 'multibytecodec.h', 'socketmodule.h', + + # Argument Clinic ".c.h" files + '_testclinic.c.h', + '_testclinic_depr.c.h', + 'overlapped.c.h', + 'posixmodule.c.h', + 'selectmodule.c.h', + 'sha3module.c.h', } TOOL = 'gcc' |