diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2020-01-30 19:01:25 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:31:54 (GMT) |
commit | 5e76dccbe0f874e352813b5d24a6b84c80b59fcd (patch) | |
tree | 87ef50fea4c9853d40c1dd15a9566eb4c96b3f28 /src/H5MMprivate.h | |
parent | c3974173a14380069c336dc7e65184685f41f32b (diff) | |
download | hdf5-5e76dccbe0f874e352813b5d24a6b84c80b59fcd.zip hdf5-5e76dccbe0f874e352813b5d24a6b84c80b59fcd.tar.gz hdf5-5e76dccbe0f874e352813b5d24a6b84c80b59fcd.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.h | 1 |
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); |