aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2012-08-03 17:52:10 -0700
committerPaul Eggert2012-08-03 17:52:10 -0700
commit185ee1468eede6b20587e15b3b81aebe66b6479a (patch)
tree040239ea40d8a296e36f83efddeee2e131a70afd /src
parent1175def2d5507b562f6e56fef042322e0afd9f86 (diff)
downloademacs-185ee1468eede6b20587e15b3b81aebe66b6479a.tar.gz
emacs-185ee1468eede6b20587e15b3b81aebe66b6479a.zip
Export DEFAULT_REHASH_* to GDB.
* lisp.h (DEFAULT_REHASH_THRESHOLD, DEFAULT_REHASH_SIZE): Now constants, not macros.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/lisp.h4
2 files changed, 8 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index c3868f521ea..9c5d7f083d5 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
12012-08-04 Paul Eggert <eggert@cs.ucla.edu>
2
3 Export DEFAULT_REHASH_* to GDB.
4 * lisp.h (DEFAULT_REHASH_THRESHOLD, DEFAULT_REHASH_SIZE):
5 Now constants, not macros.
6
12012-08-03 Paul Eggert <eggert@cs.ucla.edu> 72012-08-03 Paul Eggert <eggert@cs.ucla.edu>
2 8
3 Remove unnecessary casts involving pointers. 9 Remove unnecessary casts involving pointers.
diff --git a/src/lisp.h b/src/lisp.h
index dcdc23ef3f0..dda6797df81 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -1271,11 +1271,11 @@ enum DEFAULT_HASH_SIZE { DEFAULT_HASH_SIZE = 65 };
1271 value gives the ratio of current entries in the hash table and the 1271 value gives the ratio of current entries in the hash table and the
1272 size of the hash table. */ 1272 size of the hash table. */
1273 1273
1274#define DEFAULT_REHASH_THRESHOLD 0.8 1274static double const DEFAULT_REHASH_THRESHOLD = 0.8;
1275 1275
1276/* Default factor by which to increase the size of a hash table. */ 1276/* Default factor by which to increase the size of a hash table. */
1277 1277
1278#define DEFAULT_REHASH_SIZE 1.5 1278static double const DEFAULT_REHASH_SIZE = 1.5;
1279 1279
1280/* Most code should use this macro to access 1280/* Most code should use this macro to access
1281 Lisp fields in a different misc objects. */ 1281 Lisp fields in a different misc objects. */