diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2012-02-09 03:13:27 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2012-02-09 03:13:27 (GMT) |
commit | 9c9ee2008c10801c11bce8563894d9a30ba9a959 (patch) | |
tree | c2b89df08fa3895d3fae1a4ad87353f9aabee598 /src/H5HLint.c | |
parent | eb0e5f8c4ea29e674c97a8be048814e26379d4c1 (diff) | |
download | hdf5-9c9ee2008c10801c11bce8563894d9a30ba9a959.zip hdf5-9c9ee2008c10801c11bce8563894d9a30ba9a959.tar.gz hdf5-9c9ee2008c10801c11bce8563894d9a30ba9a959.tar.bz2 |
[svn-r21919] Description:
Refactor function name macros and simplify the FUNC_ENTER macros, to clear
away the cruft and prepare for further cleanups.
Tested on:
Mac OSX/64 10.7.3 (amazon) w/debug, production & parallel
Diffstat (limited to 'src/H5HLint.c')
-rw-r--r-- | src/H5HLint.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/H5HLint.c b/src/H5HLint.c index c6d6839..d5238eb 100644 --- a/src/H5HLint.c +++ b/src/H5HLint.c @@ -104,7 +104,7 @@ H5HL_new(size_t sizeof_size, size_t sizeof_addr, size_t prfx_size) H5HL_t *heap = NULL; /* New local heap */ H5HL_t *ret_value; /* Return value */ - FUNC_ENTER_NOAPI(H5HL_new, NULL) + FUNC_ENTER_NOAPI(NULL) /* check arguments */ HDassert(sizeof_size > 0); @@ -145,7 +145,7 @@ done: static herr_t H5HL_inc_rc(H5HL_t *heap) { - FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5HL_inc_rc) + FUNC_ENTER_NOAPI_NOINIT_NOERR /* check arguments */ HDassert(heap); @@ -174,7 +174,7 @@ H5HL_inc_rc(H5HL_t *heap) static herr_t H5HL_dec_rc(H5HL_t *heap) { - FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5HL_dec_rc) + FUNC_ENTER_NOAPI_NOINIT_NOERR /* check arguments */ HDassert(heap); @@ -206,7 +206,7 @@ H5HL_dec_rc(H5HL_t *heap) herr_t H5HL_dest(H5HL_t *heap) { - FUNC_ENTER_NOAPI_NOFUNC(H5HL_dest) + FUNC_ENTER_NOAPI_NOINIT_NOERR /* check arguments */ HDassert(heap); @@ -252,7 +252,7 @@ H5HL_prfx_new(H5HL_t *heap) H5HL_prfx_t *prfx = NULL; /* New local heap prefix */ H5HL_prfx_t *ret_value; /* Return value */ - FUNC_ENTER_NOAPI(H5HL_prfx_new, NULL) + FUNC_ENTER_NOAPI(NULL) /* check arguments */ HDassert(heap); @@ -296,7 +296,7 @@ H5HL_prfx_dest(H5HL_prfx_t *prfx) { herr_t ret_value = SUCCEED; /* Return value */ - FUNC_ENTER_NOAPI(H5HL_prfx_dest, FAIL) + FUNC_ENTER_NOAPI(FAIL) /* check arguments */ HDassert(prfx); @@ -342,7 +342,7 @@ H5HL_dblk_new(H5HL_t *heap) H5HL_dblk_t *dblk = NULL; /* New local heap data block */ H5HL_dblk_t *ret_value; /* Return value */ - FUNC_ENTER_NOAPI(H5HL_dblk_new, NULL) + FUNC_ENTER_NOAPI(NULL) /* check arguments */ HDassert(heap); @@ -386,7 +386,7 @@ H5HL_dblk_dest(H5HL_dblk_t *dblk) { herr_t ret_value = SUCCEED; /* Return value */ - FUNC_ENTER_NOAPI(H5HL_dblk_dest, FAIL) + FUNC_ENTER_NOAPI(FAIL) /* check arguments */ HDassert(dblk); |