diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2013-02-09 14:42:33 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2013-02-09 14:42:33 -0800 |
commit | eff1c1900f47ec5dfb6d435325b366362d09d2db (patch) | |
tree | 9db491fe10a82b95f493b8ae6cdfc3d56103b2fa /lisp/emacs-lisp/timer.el | |
parent | 4dde2087c47f0ef2a97c3b39d89b94b8a47baf37 (diff) | |
download | emacs-eff1c1900f47ec5dfb6d435325b366362d09d2db.tar.gz emacs-eff1c1900f47ec5dfb6d435325b366362d09d2db.tar.bz2 emacs-eff1c1900f47ec5dfb6d435325b366362d09d2db.zip |
Minor hashing refactoring.
* fns.c (SXHASH_REDUCE): Move to lisp.h.
(sxhash_float): Return EMACS_UINT, for consistency with the other
hash functions.
* lisp.h (INTMASK): Now a macro, since SXHASH_REDUCE is now a
non-static inline function and therefore can't use static vars.
(SXHASH_REDUCE): Move here from fns.c, and make it inline.
* profiler.c (hashfn_profiler): Use SXHASH_REDUCE, to be consistent
with the other hash functions.
Diffstat (limited to 'lisp/emacs-lisp/timer.el')
0 files changed, 0 insertions, 0 deletions