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/H5Gint.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/H5Gint.c')
-rw-r--r-- | src/H5Gint.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5Gint.c b/src/H5Gint.c index 0dc9c03..2271432 100644 --- a/src/H5Gint.c +++ b/src/H5Gint.c @@ -96,7 +96,7 @@ H5G_init_int_interface(void) { herr_t ret_value = SUCCEED; /* Return value */ - FUNC_ENTER_NOAPI(H5G_init_int_interface, FAIL) + FUNC_ENTER_NOAPI_NOINIT /* Funnel all work to H5G_init() */ if(H5G_init() < 0) @@ -128,8 +128,8 @@ done: const char * H5G_component(const char *name, size_t *size_p) { - /* Use FUNC_ENTER_NOAPI_NOINIT_NOFUNC here to avoid performance issues */ - FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5G_component) + /* Use FUNC_ENTER_NOAPI_NOINIT_NOERR here to avoid performance issues */ + FUNC_ENTER_NOAPI_NOINIT_NOERR assert(name); @@ -164,7 +164,7 @@ H5G_normalize(const char *name) unsigned last_slash; /* Flag to indicate last character was a slash */ char *ret_value; /* Return value */ - FUNC_ENTER_NOAPI_NOINIT(H5G_normalize) + FUNC_ENTER_NOAPI_NOINIT /* Sanity check */ HDassert(name); |