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/H5CS.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/H5CS.c')
-rw-r--r-- | src/H5CS.c | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -79,7 +79,7 @@ H5CS_get_stack(void) { H5CS_t *fstack; - FUNC_ENTER_NOAPI_NOFUNC_NOFS(H5CS_get_stack); + FUNC_ENTER_NOAPI_NOERR_NOFS fstack = H5TS_get_thread_local_value(H5TS_funcstk_key_g); if (!fstack) { @@ -123,7 +123,7 @@ H5CS_print_stack(const H5CS_t *fstack, FILE *stream) int i; /* Local index ariable */ /* Don't push this function on the function stack... :-) */ - FUNC_ENTER_NOAPI_NOFUNC_NOFS(H5CS_print_stack); + FUNC_ENTER_NOAPI_NOERR_NOFS /* Sanity check */ HDassert(fstack); @@ -170,7 +170,7 @@ H5CS_print(FILE *stream) H5CS_t *fstack = H5CS_get_my_stack (); /* Get the correct function stack */ /* Don't push this function on the function stack... :-) */ - FUNC_ENTER_NOAPI_NOFUNC_NOFS(H5CS_print); + FUNC_ENTER_NOAPI_NOERR_NOFS /* Sanity check */ assert(fstack); @@ -202,7 +202,7 @@ H5CS_push(const char *func_name) H5CS_t *fstack = H5CS_get_my_stack (); /* Don't push this function on the function stack... :-) */ - FUNC_ENTER_NOAPI_NOFUNC_NOFS(H5CS_push); + FUNC_ENTER_NOAPI_NOERR_NOFS /* Sanity check */ assert (fstack); @@ -239,7 +239,7 @@ H5CS_pop(void) H5CS_t *fstack = H5CS_get_my_stack (); /* Don't push this function on the function stack... :-) */ - FUNC_ENTER_NOAPI_NOFUNC_NOFS(H5CS_pop); + FUNC_ENTER_NOAPI_NOERR_NOFS /* Sanity check */ assert (fstack); @@ -273,7 +273,7 @@ H5CS_copy_stack(H5CS_t *new_stack) unsigned u; /* Local index variable */ /* Don't push this function on the function stack... :-) */ - FUNC_ENTER_NOAPI_NOFUNC_NOFS(H5CS_copy_stack); + FUNC_ENTER_NOAPI_NOERR_NOFS /* Sanity check */ HDassert (old_stack); @@ -307,7 +307,7 @@ H5CS_close_stack(H5CS_t *stack) unsigned u; /* Local index variable */ /* Don't push this function on the function stack... :-) */ - FUNC_ENTER_NOAPI_NOFUNC_NOFS(H5CS_close_stack); + FUNC_ENTER_NOAPI_NOERR_NOFS /* Sanity check */ HDassert (stack); |