]> granicus.if.org Git - gc/commit
New API function (GC_is_init_called) to check if BDWGC is initialized
authorIvan Maidanski <ivmai@mail.ru>
Mon, 16 Oct 2017 07:25:57 +0000 (10:25 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 16 Oct 2017 07:25:57 +0000 (10:25 +0300)
commit58c5c0535d3ecdab06f4a440d22300c7a713130c
tree2cdc0652d64a7c3d3997825c7edc1cc2f2b6967b
parentcaa12bf9421bb3340cb86c7a4edaed09fefe984b
New API function (GC_is_init_called) to check if BDWGC is initialized

Issue #186 (bdwgc).

* include/gc.h (GC_is_init_called): New API function declaration.
* misc.c (GC_is_init_called): New API function definition.
* tests/test.c (check_heap_stats): Add a test that GC is initialized.
include/gc.h
misc.c
tests/test.c