summaryrefslogtreecommitdiffstats
path: root/src/H5MMprivate.h
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2015-04-01 23:29:24 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2015-04-01 23:29:24 (GMT)
commit6986211d6584792ca48cb2469d0e779c445638d2 (patch)
tree6c2c9158d8c1e69d2c3e338192da0cb7c8d58182 /src/H5MMprivate.h
parentad4154cdc89ddf15691dbfe1c609898ef484808b (diff)
downloadhdf5-6986211d6584792ca48cb2469d0e779c445638d2.zip
hdf5-6986211d6584792ca48cb2469d0e779c445638d2.tar.gz
hdf5-6986211d6584792ca48cb2469d0e779c445638d2.tar.bz2
[svn-r26703] Merge of r26392 from trunk.
Adds new memory allocation functions that use the library's memory allocator. Intended for use with third-party filter code. Tested on: h5committest, Solaris (emu), OS X (quail) Note: emu fails with the existing Inf/inf case problem in h5dump but no other tests fail.
Diffstat (limited to 'src/H5MMprivate.h')
-rw-r--r--src/H5MMprivate.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/H5MMprivate.h b/src/H5MMprivate.h
index a3c39f0..0d608b2 100644
--- a/src/H5MMprivate.h
+++ b/src/H5MMprivate.h
@@ -33,19 +33,13 @@
/* Private headers needed by this file */
#include "H5private.h"
-#ifdef NDEBUG
-#define H5MM_malloc(Z) HDmalloc(Z)
-#define H5MM_calloc(Z) HDcalloc((size_t)1,Z)
-#endif /* NDEBUG */
#define H5MM_free(Z) HDfree(Z)
/*
* Library prototypes...
*/
-#ifndef NDEBUG
H5_DLL void *H5MM_malloc(size_t size);
H5_DLL void *H5MM_calloc(size_t size);
-#endif /* NDEBUG */
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);