diff options
author | Ray Lu <songyulu@hdfgroup.org> | 2022-04-08 20:59:45 (GMT) |
---|---|---|
committer | Ray Lu <songyulu@hdfgroup.org> | 2022-04-08 20:59:45 (GMT) |
commit | 028791c6ca52efb57bc8262cb3be696d52aede5e (patch) | |
tree | 2e2a081eb4d60981f5735bd75775bcce9de4c96a /src/H5private.h | |
parent | 43ab4e6db135f0d0bacda7d64257b9532381e24a (diff) | |
parent | d433f0f7a67a0bf6336ad6a98ad820302e82b44d (diff) | |
download | hdf5-028791c6ca52efb57bc8262cb3be696d52aede5e.zip hdf5-028791c6ca52efb57bc8262cb3be696d52aede5e.tar.gz hdf5-028791c6ca52efb57bc8262cb3be696d52aede5e.tar.bz2 |
Merge branch 'develop' of https://github.com/HDFGroup/hdf5 into raylu_onion_vfd_7
Diffstat (limited to 'src/H5private.h')
-rw-r--r-- | src/H5private.h | 29 |
1 files changed, 2 insertions, 27 deletions
diff --git a/src/H5private.h b/src/H5private.h index 518cea4..58086db 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -2305,23 +2305,9 @@ H5_DLL herr_t H5CX_pop(hbool_t update_dxpl_props); H5_PUSH_FUNC \ { -/* Use this macro for all "normal" staticly-scoped functions */ -#define FUNC_ENTER_STATIC \ - { \ - FUNC_ENTER_COMMON(H5_IS_PKG(__func__)); \ - H5_PUSH_FUNC \ - { - -/* Use this macro for staticly-scoped functions which propgate errors, but don't issue them */ -#define FUNC_ENTER_STATIC_NOERR \ - { \ - FUNC_ENTER_COMMON_NOERR(H5_IS_PKG(__func__)); \ - H5_PUSH_FUNC \ - { - /* Use this macro for staticly-scoped functions which propgate errors, but don't issue them */ /* And that shouldn't push their name on the function stack */ -#define FUNC_ENTER_STATIC_NOERR_NOFS \ +#define FUNC_ENTER_PACKAGE_NOERR_NOFS \ { \ FUNC_ENTER_COMMON_NOERR(H5_IS_PKG(__func__)); \ { @@ -2333,21 +2319,10 @@ H5_DLL herr_t H5CX_pop(hbool_t update_dxpl_props); * API name itself. Examples are static routines in the H5TS package. * */ -#define FUNC_ENTER_STATIC_NAMECHECK_ONLY \ +#define FUNC_ENTER_PACKAGE_NAMECHECK_ONLY \ { \ FUNC_ENTER_COMMON_NOERR(H5_IS_PKG(__func__)); -/* Use the following macro as replacement for the FUNC_ENTER_STATIC - * macro when the function needs to set up a metadata tag. */ -#define FUNC_ENTER_STATIC_TAG(tag) \ - { \ - haddr_t prev_tag = HADDR_UNDEF; \ - \ - FUNC_ENTER_COMMON(H5_IS_PKG(__func__)); \ - H5AC_tag(tag, &prev_tag); \ - H5_PUSH_FUNC \ - { - /*------------------------------------------------------------------------- * Purpose: Register function exit for code profiling. This should be * the last statement executed by a function. |