]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-120674: Protect multi-line macros in _testbuffer.c and _testcapimodule.c (#120675)
authorBénédikt Tran <10796600+picnixz@users.noreply.github.com>
Tue, 18 Jun 2024 12:04:52 +0000 (14:04 +0200)
committerGitHub <noreply@github.com>
Tue, 18 Jun 2024 12:04:52 +0000 (12:04 +0000)
commit7c5da94b5d674e112dc77f6494463014b7137193
tree81326f4ba92c51c1599749aad331e7ed38a3a34c
parent4bc27abdbee88efcf9ada83de6e9e9a0e439edaf
gh-120674: Protect multi-line macros in _testbuffer.c and _testcapimodule.c (#120675)

Add do { ... } while (0) pattern.
Modules/_testbuffer.c
Modules/_testcapimodule.c