diff options
| author | Paul Eggert | 2013-02-09 14:42:33 -0800 |
|---|---|---|
| committer | Paul Eggert | 2013-02-09 14:42:33 -0800 |
| commit | eff1c1900f47ec5dfb6d435325b366362d09d2db (patch) | |
| tree | 9db491fe10a82b95f493b8ae6cdfc3d56103b2fa /src/ChangeLog | |
| parent | 4dde2087c47f0ef2a97c3b39d89b94b8a47baf37 (diff) | |
| download | emacs-eff1c1900f47ec5dfb6d435325b366362d09d2db.tar.gz 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 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index cfe59c2ec88..05d69382855 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,15 @@ | |||
| 1 | 2013-02-09 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Minor hashing refactoring. | ||
| 4 | * fns.c (SXHASH_REDUCE): Move to lisp.h. | ||
| 5 | (sxhash_float): Return EMACS_UINT, for consistency with the other | ||
| 6 | hash functions. | ||
| 7 | * lisp.h (INTMASK): Now a macro, since SXHASH_REDUCE is now a | ||
| 8 | non-static inline function and therefore can't use static vars. | ||
| 9 | (SXHASH_REDUCE): Move here from fns.c, and make it inline. | ||
| 10 | * profiler.c (hashfn_profiler): Use SXHASH_REDUCE, to be consistent | ||
| 11 | with the other hash functions. | ||
| 12 | |||
| 1 | 2013-02-09 Eli Zaretskii <eliz@gnu.org> | 13 | 2013-02-09 Eli Zaretskii <eliz@gnu.org> |
| 2 | 14 | ||
| 3 | * callproc.c (Fcall_process_region) [WINDOWSNT]: Make sure the | 15 | * callproc.c (Fcall_process_region) [WINDOWSNT]: Make sure the |