diff options
author | Gerhard Sittig <gerhard.sittig@gmx.net> | 2021-12-25 19:52:30 +0100 |
---|---|---|
committer | Gerhard Sittig <gerhard.sittig@gmx.net> | 2021-12-26 13:45:09 +0100 |
commit | 7337906cd06569485cbb88ff837b1cfce29cfd48 (patch) | |
tree | 903f87019ffc4c9689da6fa881edd60021ba4b85 /decoders/ds2408/pd.py | |
parent | 11c6995e4bdaf176e1a38b8ee642217cdb98dfda (diff) | |
download | libsigrokdecode-7337906cd06569485cbb88ff837b1cfce29cfd48.tar.gz libsigrokdecode-7337906cd06569485cbb88ff837b1cfce29cfd48.zip |
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.
Diffstat (limited to 'decoders/ds2408/pd.py')
0 files changed, 0 insertions, 0 deletions