diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2014-03-10 20:04:58 +0400 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2014-03-10 20:34:21 +0400 |
commit | ff6c3d9fb8e7065ffe74cb780b2c1f54868152e2 (patch) | |
tree | 217fff9b7a746308ab36bf399d7e5753be31f03c /checksums.c | |
parent | 784d789a93ec0ce6ceec5ef860990418f452f087 (diff) | |
download | bdwgc-ff6c3d9fb8e7065ffe74cb780b2c1f54868152e2.tar.gz |
Define public GC_GENERIC_OR_SPECIAL_MALLOC and GC_get_kind_and_size
* dbg_mlc.c (GC_debug_generic_malloc,
GC_debug_generic_or_special_malloc): New function.
* mallocx.c (GC_get_kind_and_size): Likewise.
* tests/test.c (test_generic_malloc_or_special): Likewise.
* include/gc_mark.h (GC_generic_or_special_malloc,
GC_debug_generic_or_special_malloc, GC_get_kind_and_size): New API
prototype.
* include/gc_mark.h (GC_GENERIC_OR_SPECIAL_MALLOC): New public macro.
* mallocx.c (GC_generic_or_special_malloc): Turn into API function.
* tests/test.c (reverse_test_inner, run_one_test): Invoke
test_generic_malloc_or_special (to test GC_GENERIC_OR_SPECIAL_MALLOC
and GC_get_kind_and_size).
Diffstat (limited to 'checksums.c')
0 files changed, 0 insertions, 0 deletions