diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2004-10-26 20:09:29 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2004-10-26 20:09:29 (GMT) |
commit | ed6e5dd6dcde54d16569fc28f8b062bac81fb81a (patch) | |
tree | 3a131d220d13a6e68f4cd3f7971befbda91d723d /src/H5MM.c | |
parent | acab18c8ded316c7c22680757fd55b2b2d3745d3 (diff) | |
download | hdf5-ed6e5dd6dcde54d16569fc28f8b062bac81fb81a.zip hdf5-ed6e5dd6dcde54d16569fc28f8b062bac81fb81a.tar.gz hdf5-ed6e5dd6dcde54d16569fc28f8b062bac81fb81a.tar.bz2 |
[svn-r9460] Purpose:
Code cleanup & optimization
Description:
Bring back new metadata cache code from development branch.
Platforms tested:
FreeBSD 4.10 (sleipnir) w/parallel
Solaris 2.7 (arabica)
Linux 2.4 (heping) w/C++ & FORTRAN
Diffstat (limited to 'src/H5MM.c')
-rw-r--r-- | src/H5MM.c | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -24,12 +24,16 @@ * *------------------------------------------------------------------------- */ + +/* Pablo information */ +/* (Put before include files to avoid problems with inline functions) */ +#define PABLO_MASK H5MM_mask + #include "H5private.h" #include "H5Eprivate.h" #include "H5MMprivate.h" /* Interface initialization? */ -#define PABLO_MASK H5MM_mask static int interface_initialize_g = 0; #define INTERFACE_INIT NULL @@ -58,7 +62,7 @@ static int interface_initialize_g = 0; void * H5MM_malloc(size_t size) { - /* Use FUNC_ENTER_NOAPI_NOINIT here to avoid performance issues */ + /* Use FUNC_ENTER_NOAPI_NOINIT_NOFUNC here to avoid performance issues */ FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5MM_malloc); assert(size); @@ -91,7 +95,7 @@ H5MM_malloc(size_t size) void * H5MM_calloc(size_t size) { - /* Use FUNC_ENTER_NOAPI_NOINIT here to avoid performance issues */ + /* Use FUNC_ENTER_NOAPI_NOINIT_NOFUNC here to avoid performance issues */ FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5MM_calloc); assert(size); |