]> code.delx.au - gnu-emacs/commit
Minor improvements for hash function primitives
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 8 Apr 2016 22:33:22 +0000 (15:33 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 8 Apr 2016 22:33:59 +0000 (15:33 -0700)
commit6b0d58be9f6caa2fc4125ed98294e1937ee56d2a
tree1e347a21685939c2a69710cc588cdc78f974406c
parenta4aa94d0cdffb45723786aa798174e942d509774
Minor improvements for hash function primitives

* src/fns.c (hashfn_eql): Define in terms of hashfn_equal and
hashfn_eq rather than reaching inside them.
(hashtest_eq, hashtest_eql, hashtest_equal):
Now constants with initializers.
(syms_of_fns): Omit no-longer-needed initialization.
* src/lisp.h (LISPSYM_INITIALLY): New macro.
(DEFINE_LISP_SYMBOL): Use it.
src/fns.c
src/lisp.h