Remove multi-line macros (ITERATE_DL_HASHTBL_*) in finalize
authorIvan Maidanski <ivmai@mail.ru>
Thu, 5 Jul 2018 04:17:09 +0000 (07:17 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Thu, 5 Jul 2018 04:17:09 +0000 (07:17 +0300)
commit74c113b720f6201f15aa320b65feeacad71ca7a5
treef9a722630460a9afe6681cfae43c296d89257364
parent0a5ba7ea38eb9b2bf2d83cac8f6e3d2ee1342d9f
Remove multi-line macros (ITERATE_DL_HASHTBL_*) in finalize
(code refactoring)

* finalize.c (ITERATE_DL_HASHTBL_BEGIN, ITERATE_DL_HASHTBL_END,
DELETE_DL_HASHTBL_ENTRY): Remove macro.
* finalize.c (GC_make_disappearing_links_disappear): Add
is_remove_dangling argument (true means removal of dangling disappearing
links, false means make the disappearing links disappear); rename curr
and next local variables to curr_dl and next_dl, respectively; expand
ITERATE_DL_HASHTBL_BEGIN, DELETE_DL_HASHTBL_ENTRY and
ITERATE_DL_HASHTBL_END macros; remove real_ptr local variable; reformat
code.
* finalize.c (GC_remove_dangling_disappearing_links): Remove.
finalize.c