summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2019-11-13 19:48:07 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2019-11-13 19:48:07 (GMT)
commit3dd539473b7440f84f1297cc53d90d6d63b39ad4 (patch)
treeba54d503f648ff4ba074c4863e00c55fa4748415
parentbd77af437f5a64cf26bd0e7d2da04fd383b602d3 (diff)
downloadhdf5-3dd539473b7440f84f1297cc53d90d6d63b39ad4.zip
hdf5-3dd539473b7440f84f1297cc53d90d6d63b39ad4.tar.gz
hdf5-3dd539473b7440f84f1297cc53d90d6d63b39ad4.tar.bz2
Document H5D__chunk_mem_xfree_wrapper().
-rw-r--r--src/H5Dchunk.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/H5Dchunk.c b/src/H5Dchunk.c
index 3575aab..53a2c5f 100644
--- a/src/H5Dchunk.c
+++ b/src/H5Dchunk.c
@@ -1444,6 +1444,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)
{