Export GC_print_free_list()
authorIvan Maidanski <ivmai@mail.ru>
Mon, 31 Oct 2016 07:09:10 +0000 (10:09 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 31 Oct 2016 07:09:10 +0000 (10:09 +0300)
commit644e9b75f05a27511c22ac1621b9a3b8842cfe6b
tree450ca400c6ddfff1f78d87a6b627ce5e5c4c6f9f
parentb280a10c850e05581d8eec8eb10b49b49e442aa5
Export GC_print_free_list()

Note: this function is not used by GC itself.

* include/gc_inline.h (GC_print_free_list): New public API prototype.
* reclaim.c [!NO_DEBUGGING]: Include gc_inline.h (to check that
GC_print_free_list prototype matches the definition).
* reclaim.c [!NO_DEBUGGING] (GC_print_free_list): Define as public
(GC_API+GC_CALL); remove "ok" local variable; add assertions about kind
and sz_in_granules maximum values.
include/gc_inline.h
reclaim.c