diff options
| author | Stefan Monnier | 2017-02-18 22:37:05 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2017-02-18 22:37:05 -0500 |
| commit | fe927ecfe45f66ec58d9e7cab6f2526fc87a6803 (patch) | |
| tree | 2bf00f13cb623dcdebda530dfcef75af69a4a13a /src/print.c | |
| parent | b2a83eed23d540b4b0ab9e0bf5605821011bfd7d (diff) | |
| download | emacs-fe927ecfe45f66ec58d9e7cab6f2526fc87a6803.tar.gz emacs-fe927ecfe45f66ec58d9e7cab6f2526fc87a6803.zip | |
Change type of `rehash_threshold' and `pure' fields in hash-tables
* src/lisp.h (struct Lisp_Hash_Table): Change type of
`rehash_threshold' and `pure' fields and move them after `count'.
* src/fns.c (make_hash_table): Change type of `rehash_threshold' and `pure'.
(Fmake_hash_table, Fhash_table_rehash_threshold):
* src/category.c (hash_get_category_set):
* src/xterm.c (syms_of_xterm):
* src/profiler.c (make_log):
* src/print.c (print_object):
* src/alloc.c (purecopy_hash_table, purecopy): Adjust accordingly.
Diffstat (limited to 'src/print.c')
| -rw-r--r-- | src/print.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/print.c b/src/print.c index db3d00f51f2..3a36a4eb54d 100644 --- a/src/print.c +++ b/src/print.c | |||
| @@ -1812,16 +1812,14 @@ print_object (Lisp_Object obj, Lisp_Object printcharfun, bool escapeflag) | |||
| 1812 | print_object (h->rehash_size, printcharfun, escapeflag); | 1812 | print_object (h->rehash_size, printcharfun, escapeflag); |
| 1813 | } | 1813 | } |
| 1814 | 1814 | ||
| 1815 | if (!NILP (h->rehash_threshold)) | 1815 | print_c_string (" rehash-threshold ", printcharfun); |
| 1816 | { | 1816 | print_object (make_float (h->rehash_threshold), |
| 1817 | print_c_string (" rehash-threshold ", printcharfun); | 1817 | printcharfun, escapeflag); |
| 1818 | print_object (h->rehash_threshold, printcharfun, escapeflag); | ||
| 1819 | } | ||
| 1820 | 1818 | ||
| 1821 | if (!NILP (h->pure)) | 1819 | if (h->pure) |
| 1822 | { | 1820 | { |
| 1823 | print_c_string (" purecopy ", printcharfun); | 1821 | print_c_string (" purecopy ", printcharfun); |
| 1824 | print_object (h->pure, printcharfun, escapeflag); | 1822 | print_object (h->pure ? Qt : Qnil, printcharfun, escapeflag); |
| 1825 | } | 1823 | } |
| 1826 | 1824 | ||
| 1827 | print_c_string (" data ", printcharfun); | 1825 | print_c_string (" data ", printcharfun); |