type_decoder: use ALL_ZERO for sentinels in method/member tables
commit7337906cd06569485cbb88ff837b1cfce29cfd48
authorGerhard Sittig <gerhard.sittig@gmx.net>
Sat, 25 Dec 2021 18:52:30 +0000 (25 19:52 +0100)
committerGerhard Sittig <gerhard.sittig@gmx.net>
Sun, 26 Dec 2021 12:45:09 +0000 (26 13:45 +0100)
tree903f87019ffc4c9689da6fa881edd60021ba4b85
parent11c6995e4bdaf176e1a38b8ee642217cdb98dfda
type_decoder: use ALL_ZERO for sentinels in method/member tables

Avoid the full listing of all-zero struct members in sentinel items of
object methods and class properties tables. Use the ALL_ZERO phrase
instead which better reflects what's intended, and reliably silences
warnings should structs' lengths differ across Python versions.
type_decoder.c