core: Add hashq_get_handle, hash, hash_ref, hash_set_x.
authorJan Nieuwenhuizen <janneke@gnu.org>
Thu, 18 Oct 2018 05:55:28 +0000 (07:55 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Thu, 18 Oct 2018 05:55:28 +0000 (07:55 +0200)
commit7efd949304bb6b91ffde055e220444c1d1efff68
tree9e2242ea0cfce4794f2f7065b1b883affda61e50
parent67046e1b0088aea8b60d9ec4668c8ad12d10a019
core: Add hashq_get_handle, hash, hash_ref, hash_set_x.

* src/mes.c (scm_symbol_hashq_table, scm_symbol_record_type,
scm_symbol_module, scm_symbol_buckets, scm_symbol_size): New symbols.
Update users.
* src/hash.c (hash_list_of_char): Rename from hashq_.  Respect size,
update callers.
(hashq_, hash_ hash, hashq_get_handle, hash_ref, hash_set_x_,
hash_set_x): New function.
(hashq_ref): Do not return handle.  Update callers.
scaffold/mini-mes.c
src/hash.c
src/mes.c
src/module.c