diff options
| author | Stephen Leake | 2019-09-10 03:37:51 -0700 |
|---|---|---|
| committer | Stephen Leake | 2019-09-10 03:37:51 -0700 |
| commit | 3d442312889ef2d14c07282d0aff6199d00cc165 (patch) | |
| tree | 74034ca2dded6ed233d0701b4cb5c10a0b5e9034 /src/lisp.h | |
| parent | ac1a2e260e8ece34500b5879f766b4e54ee57b94 (diff) | |
| parent | 74e9799bd89484b8d15bdd6597c68fc00d07e7f7 (diff) | |
| download | emacs-3d442312889ef2d14c07282d0aff6199d00cc165.tar.gz emacs-3d442312889ef2d14c07282d0aff6199d00cc165.zip | |
Merge commit '74e9799bd89484b8d15bdd6597c68fc00d07e7f7'
Diffstat (limited to 'src/lisp.h')
| -rw-r--r-- | src/lisp.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lisp.h b/src/lisp.h index 56ad99b8e39..a7b19ab576e 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -2307,7 +2307,7 @@ struct Lisp_Hash_Table | |||
| 2307 | weakness of the table. */ | 2307 | weakness of the table. */ |
| 2308 | Lisp_Object weak; | 2308 | Lisp_Object weak; |
| 2309 | 2309 | ||
| 2310 | /* Vector of hash codes. | 2310 | /* Vector of hash codes, or nil if the table needs rehashing. |
| 2311 | If the I-th entry is unused, then hash[I] should be nil. */ | 2311 | If the I-th entry is unused, then hash[I] should be nil. */ |
| 2312 | Lisp_Object hash; | 2312 | Lisp_Object hash; |
| 2313 | 2313 | ||
| @@ -2327,8 +2327,7 @@ struct Lisp_Hash_Table | |||
| 2327 | 'index' are special and are either ignored by the GC or traced in | 2327 | 'index' are special and are either ignored by the GC or traced in |
| 2328 | a special way (e.g. because of weakness). */ | 2328 | a special way (e.g. because of weakness). */ |
| 2329 | 2329 | ||
| 2330 | /* Number of key/value entries in the table. This number is | 2330 | /* Number of key/value entries in the table. */ |
| 2331 | negated if the table needs rehashing. */ | ||
| 2332 | ptrdiff_t count; | 2331 | ptrdiff_t count; |
| 2333 | 2332 | ||
| 2334 | /* Index of first free entry in free list, or -1 if none. */ | 2333 | /* Index of first free entry in free list, or -1 if none. */ |
| @@ -2413,7 +2412,9 @@ HASH_HASH (const struct Lisp_Hash_Table *h, ptrdiff_t idx) | |||
| 2413 | INLINE ptrdiff_t | 2412 | INLINE ptrdiff_t |
| 2414 | HASH_TABLE_SIZE (const struct Lisp_Hash_Table *h) | 2413 | HASH_TABLE_SIZE (const struct Lisp_Hash_Table *h) |
| 2415 | { | 2414 | { |
| 2416 | return ASIZE (h->next); | 2415 | ptrdiff_t size = ASIZE (h->next); |
| 2416 | eassume (0 < size); | ||
| 2417 | return size; | ||
| 2417 | } | 2418 | } |
| 2418 | 2419 | ||
| 2419 | void hash_table_rehash (struct Lisp_Hash_Table *h); | 2420 | void hash_table_rehash (struct Lisp_Hash_Table *h); |
| @@ -3614,7 +3615,6 @@ extern void set_default_internal (Lisp_Object, Lisp_Object, | |||
| 3614 | extern Lisp_Object expt_integer (Lisp_Object, Lisp_Object); | 3615 | extern Lisp_Object expt_integer (Lisp_Object, Lisp_Object); |
| 3615 | extern void syms_of_data (void); | 3616 | extern void syms_of_data (void); |
| 3616 | extern void swap_in_global_binding (struct Lisp_Symbol *); | 3617 | extern void swap_in_global_binding (struct Lisp_Symbol *); |
| 3617 | extern Lisp_Object integer_mod (Lisp_Object, Lisp_Object); | ||
| 3618 | 3618 | ||
| 3619 | /* Defined in cmds.c */ | 3619 | /* Defined in cmds.c */ |
| 3620 | extern void syms_of_cmds (void); | 3620 | extern void syms_of_cmds (void); |