From 902cb3e0d0d972dff110192c4cd7d324d99923e6 Mon Sep 17 00:00:00 2001 From: David Young Date: Wed, 13 Nov 2019 13:48:07 -0600 Subject: Document H5D__chunk_mem_xfree_wrapper(). --- src/H5Dchunk.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/H5Dchunk.c b/src/H5Dchunk.c index 1b0881b..7a5a919 100644 --- a/src/H5Dchunk.c +++ b/src/H5Dchunk.c @@ -1445,6 +1445,11 @@ H5D__chunk_mem_xfree(void *chk, void *_pline) FUNC_LEAVE_NOAPI(NULL) } /* H5D__chunk_mem_xfree() */ +/* H5D__chunk_mem_xfree_wrapper() safely adapts the type of + * H5D__chunk_mem_xfree() to an H5MM_free_t callback, without making + * compilers warn. It is used with H5D__chunk_mem_xfree_wrapper(), for + * example. + */ static void H5D__chunk_mem_xfree_wrapper(void *chk, void *_pline) { -- cgit v0.12