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/H5Olink.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/H5Olink.c')
-rw-r--r-- | src/H5Olink.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/H5Olink.c b/src/H5Olink.c index 7e14558..21984c7 100644 --- a/src/H5Olink.c +++ b/src/H5Olink.c @@ -124,7 +124,7 @@ H5O_link_decode(H5F_t *f, hid_t UNUSED dxpl_id, H5O_t UNUSED *open_oh, unsigned char link_flags; /* Flags for encoding link info */ void *ret_value; /* Return value */ - FUNC_ENTER_NOAPI_NOINIT(H5O_link_decode) + FUNC_ENTER_NOAPI_NOINIT /* check args */ HDassert(f); @@ -281,7 +281,7 @@ H5O_link_encode(H5F_t *f, hbool_t UNUSED disable_shared, uint8_t *p, const void uint64_t len; /* Length of a string in the message */ unsigned char link_flags; /* Flags for encoding link info */ - FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5O_link_encode) + FUNC_ENTER_NOAPI_NOINIT_NOERR /* check args */ HDassert(f); @@ -405,7 +405,7 @@ H5O_link_copy(const void *_mesg, void *_dest) H5O_link_t *dest = (H5O_link_t *) _dest; void *ret_value; /* Return value */ - FUNC_ENTER_NOAPI_NOINIT(H5O_link_copy) + FUNC_ENTER_NOAPI_NOINIT /* Check args */ HDassert(lnk); @@ -474,7 +474,7 @@ H5O_link_size(const H5F_t *f, hbool_t UNUSED disable_shared, const void *_mesg) size_t name_size; /* Size of encoded name length */ size_t ret_value; /* Return value */ - FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5O_link_size) + FUNC_ENTER_NOAPI_NOINIT_NOERR /* Get name's length */ name_len = (uint64_t)HDstrlen(lnk->name); @@ -538,7 +538,7 @@ H5O_link_reset(void *_mesg) { H5O_link_t *lnk = (H5O_link_t *)_mesg; - FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5O_link_reset) + FUNC_ENTER_NOAPI_NOINIT_NOERR if(lnk) { /* Free information for link (but don't free link pointer) */ @@ -572,7 +572,7 @@ H5O_link_free(void *_mesg) { H5O_link_t *lnk = (H5O_link_t *)_mesg; - FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5O_link_free) + FUNC_ENTER_NOAPI_NOINIT_NOERR HDassert(lnk); @@ -602,7 +602,7 @@ H5O_link_delete(H5F_t *f, hid_t dxpl_id, H5O_t UNUSED *open_oh, void *_mesg) H5O_link_t *lnk = (H5O_link_t *)_mesg; herr_t ret_value = SUCCEED; /* Return value */ - FUNC_ENTER_NOAPI(H5O_link_delete, FAIL) + FUNC_ENTER_NOAPI(FAIL) /* check args */ HDassert(f); @@ -675,7 +675,7 @@ static herr_t H5O_link_pre_copy_file(H5F_t UNUSED *file_src, const void UNUSED *native_src, hbool_t *deleted, const H5O_copy_t *cpy_info, void UNUSED *udata) { - FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5O_link_pre_copy_file) + FUNC_ENTER_NOAPI_NOINIT_NOERR /* check args */ HDassert(deleted); @@ -715,7 +715,7 @@ H5O_link_copy_file(H5F_t UNUSED *file_src, void *native_src, H5F_t UNUSED *file_ H5O_link_t *link_src = (H5O_link_t *)native_src; void *ret_value; /* Return value */ - FUNC_ENTER_NOAPI_NOINIT(H5O_link_copy_file) + FUNC_ENTER_NOAPI_NOINIT /* check args */ HDassert(link_src); @@ -756,7 +756,7 @@ H5O_link_post_copy_file(const H5O_loc_t *src_oloc, const void *mesg_src, H5O_link_t *link_dst = (H5O_link_t *)mesg_dst; herr_t ret_value = SUCCEED; /* Return value */ - FUNC_ENTER_NOAPI_NOINIT(H5O_link_post_copy_file) + FUNC_ENTER_NOAPI_NOINIT /* check args */ HDassert(link_src); @@ -797,7 +797,7 @@ H5O_link_debug(H5F_t UNUSED *f, hid_t UNUSED dxpl_id, const void *_mesg, FILE * const H5O_link_t *lnk = (const H5O_link_t *) _mesg; herr_t ret_value = SUCCEED; /* Return value */ - FUNC_ENTER_NOAPI_NOINIT(H5O_link_debug) + FUNC_ENTER_NOAPI_NOINIT /* check args */ HDassert(f); |