summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2019-11-13 19:48:07 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:19:37 (GMT)
commit902cb3e0d0d972dff110192c4cd7d324d99923e6 (patch)
treed433647204d093a4f6deb5290102cad8cc3beed1 /src
parentb1be318a62d6066adb8102bed26a41f4e3478ed6 (diff)
downloadhdf5-902cb3e0d0d972dff110192c4cd7d324d99923e6.zip
hdf5-902cb3e0d0d972dff110192c4cd7d324d99923e6.tar.gz
hdf5-902cb3e0d0d972dff110192c4cd7d324d99923e6.tar.bz2
Document H5D__chunk_mem_xfree_wrapper().
Diffstat (limited to 'src')
-rw-r--r--src/H5Dchunk.c5
1 files changed, 5 insertions, 0 deletions
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)
{