aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
authorMattias EngdegÄrd2023-11-05 12:10:34 +0100
committerMattias EngdegÄrd2024-01-13 20:50:38 +0100
commit0a998938ca1b7e5e6f09d14b4a62ec7089be2af6 (patch)
treee512f901ed054fcf3f6d83c70ddda62e09f09f7b /src/alloc.c
parent3b00255a4c70bc1075446c94a8ff65c987ac143f (diff)
downloademacs-0a998938ca1b7e5e6f09d14b4a62ec7089be2af6.tar.gz
emacs-0a998938ca1b7e5e6f09d14b4a62ec7089be2af6.zip
Use hash_idx_t for storing hash indices
Now hash_idx_t is a typedef for ptrdiff_t so there is no actual code change, but this allows us to decouple the index width from the Lisp word size. * src/lisp.h (hash_idx_t): New typedef for ptrdiff_t. (struct Lisp_Hash_Table): Use it for indices and sizes: index, next, table_size, index_size, count and next_free. All uses adapted.
Diffstat (limited to 'src/alloc.c')
0 files changed, 0 insertions, 0 deletions