diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-10-11 23:49:51 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-10-11 23:49:51 -0700 |
commit | 35f3649a02f7edd0f69d3e1dcbed7fc2c435ce9f (patch) | |
tree | 8c78ce4d12ce91ad4c60577009634c04f862f8be /lisplib.h | |
parent | e3ef5c56c8445b409ccb342c78aa79e7c2616582 (diff) | |
download | txr-35f3649a02f7edd0f69d3e1dcbed7fc2c435ce9f.tar.gz txr-35f3649a02f7edd0f69d3e1dcbed7fc2c435ce9f.tar.bz2 txr-35f3649a02f7edd0f69d3e1dcbed7fc2c435ce9f.zip |
hash: strengthen type mutual exclusion check.
* hash.c (equal_based_p): Take additional argument
eq indicating that :eq-based has been specified.
Check all three exclusive combinations.
(hashv): Call equal_based_p unconditionally, even when
:eq-based is specified and we don't use this function's
return value so we benefit from that function's exclusion
check. Pass the eq boolean, as required.
Diffstat (limited to 'lisplib.h')
0 files changed, 0 insertions, 0 deletions