summaryrefslogtreecommitdiffstats
path: root/src/H5private.h
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2022-04-08 19:32:40 (GMT)
committerGitHub <noreply@github.com>2022-04-08 19:32:40 (GMT)
commitd433f0f7a67a0bf6336ad6a98ad820302e82b44d (patch)
tree4c3950af7f36671807f5a1fbe96140eb02dc2098 /src/H5private.h
parent95909be9c3491f465b1a61dde5e17381e4179732 (diff)
downloadhdf5-d433f0f7a67a0bf6336ad6a98ad820302e82b44d.zip
hdf5-d433f0f7a67a0bf6336ad6a98ad820302e82b44d.tar.gz
hdf5-d433f0f7a67a0bf6336ad6a98ad820302e82b44d.tar.bz2
Removes the STATIC flavor of FUNC_ENTER macros (#1622)
* Removes the STATIC flavor of FUNC_ENTER macros
Diffstat (limited to 'src/H5private.h')
-rw-r--r--src/H5private.h29
1 files changed, 2 insertions, 27 deletions
diff --git a/src/H5private.h b/src/H5private.h
index d98d76d..974f26c 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -2302,23 +2302,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__)); \
{
@@ -2330,21 +2316,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.