diff options
author | Victor Stinner <vstinner@python.org> | 2023-08-21 18:05:59 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-21 18:05:59 (GMT) |
commit | 0dd3fc2a640b273979f94299b545e1e40ac0633c (patch) | |
tree | a4b5b46c3f05711137686f70363bd4592b49b7ea /Include/internal/pycore_bitutils.h | |
parent | b16ecb88e70d696a93ce993661973330baeafee1 (diff) | |
download | cpython-0dd3fc2a640b273979f94299b545e1e40ac0633c.zip cpython-0dd3fc2a640b273979f94299b545e1e40ac0633c.tar.gz cpython-0dd3fc2a640b273979f94299b545e1e40ac0633c.tar.bz2 |
gh-108216: Cleanup #include in internal header files (#108228)
* Add missing includes.
* Remove unused includes.
* Update old include/symbol names to newer names.
* Mention at least one included symbol.
* Sort includes.
* Update Tools/cases_generator/generate_cases.py used to generated
pycore_opcode_metadata.h.
* Update Parser/asdl_c.py used to generate pycore_ast.h.
* Cleanup also includes in _testcapimodule.c and _testinternalcapi.c.
Diffstat (limited to 'Include/internal/pycore_bitutils.h')
-rw-r--r-- | Include/internal/pycore_bitutils.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/internal/pycore_bitutils.h b/Include/internal/pycore_bitutils.h index e6bf61e..50f6937 100644 --- a/Include/internal/pycore_bitutils.h +++ b/Include/internal/pycore_bitutils.h @@ -26,10 +26,10 @@ extern "C" { #endif #ifdef _MSC_VER - /* Get _byteswap_ushort(), _byteswap_ulong(), _byteswap_uint64() */ -# include <intrin.h> +# include <intrin.h> // _byteswap_uint64() #endif + static inline uint16_t _Py_bswap16(uint16_t word) { |