aboutsummaryrefslogtreecommitdiffstats
path: root/tools/check_spelling.py
diff options
context:
space:
mode:
authorJoão Valverde <j@v6e.pt>2021-10-10 16:00:51 +0100
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-10-10 20:48:29 +0000
commit13e9e7199c64256370af1f27a57b11acdcd11caf (patch)
treee6ffd9c54a893963a2db230dc8c2666327715b15 /tools/check_spelling.py
parent6299a66a929b446ebf7beeb853b19634aa2c1f1e (diff)
ftypes: Use an order function to compare ftypes
All the order operators can be defined in terms of 'lt' and 'eq' so use that to reduce the number of required methods from 6 to 2. Further reduce to one by combining those two into a single function that has memcmp semantics: negative return is "less than", positive is "greater than" and zero is equal.
Diffstat (limited to 'tools/check_spelling.py')
0 files changed, 0 insertions, 0 deletions