summaryrefslogtreecommitdiffstats
path: root/src/H5MMprivate.h
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-01-30 19:01:25 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2020-01-30 19:01:25 (GMT)
commit9da387342eea566659daed83c850220cee041059 (patch)
tree4ef05589271e0800fb5bf853bad09cd1c4dfeb7c /src/H5MMprivate.h
parentd1f2eff23148da5e39463bd351be51767755b1c1 (diff)
downloadhdf5-9da387342eea566659daed83c850220cee041059.zip
hdf5-9da387342eea566659daed83c850220cee041059.tar.gz
hdf5-9da387342eea566659daed83c850220cee041059.tar.bz2
Added a free wrapper that lets us free constant pointers without
generating warnings. Also, brought the const-ness of the VOL connector info in line with the VFD info (not visible externally).
Diffstat (limited to 'src/H5MMprivate.h')
-rw-r--r--src/H5MMprivate.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5MMprivate.h b/src/H5MMprivate.h
index 2053215..240b931 100644
--- a/src/H5MMprivate.h
+++ b/src/H5MMprivate.h
@@ -45,6 +45,7 @@ H5_DLL void *H5MM_realloc(void *mem, size_t size);
H5_DLL char *H5MM_xstrdup(const char *s);
H5_DLL char *H5MM_strdup(const char *s);
H5_DLL void *H5MM_xfree(void *mem);
+H5_DLL void *H5MM_xfree_const(const void *mem);
H5_DLL void *H5MM_memcpy(void *dest, const void *src, size_t n);
#if defined H5_MEMORY_ALLOC_SANITY_CHECK
H5_DLL void H5MM_sanity_check_all(void);