core: hashq-table: Refactor to be a record-like struct.
authorJan Nieuwenhuizen <janneke@gnu.org>
Mon, 15 Oct 2018 13:45:41 +0000 (15:45 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Mon, 15 Oct 2018 13:45:41 +0000 (15:45 +0200)
commit8c0a517edff1f7b41b1cc1b641a328cb1954aa2b
tree97d505ba8e86385bca918c6d8b548ddaf242864e
parent999642052b1496dc752723f663cbfe252819b977
core: hashq-table: Refactor to be a record-like struct.

* src/hash.c (hash_table_printer): New function.
(make_hashq_type): New function.
* src/module.c (module_printer): Use it.
(make_module_type): New function.
(make_initial_module): Use them.
src/hash.c
src/module.c