summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1997-08-01 20:08:44 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1997-08-01 20:08:44 (GMT)
commitd93c5653fd3526ba1f67b10ebadab01d5cea565f (patch)
tree7261dbaa2b53f4af29a37f104641c462832ca748 /src
parentfc4bcbc21f9a530aa03e1525516507de2c8dadb5 (diff)
downloadhdf5-d93c5653fd3526ba1f67b10ebadab01d5cea565f.zip
hdf5-d93c5653fd3526ba1f67b10ebadab01d5cea565f.tar.gz
hdf5-d93c5653fd3526ba1f67b10ebadab01d5cea565f.tar.bz2
[svn-r5] ifdef'ed out the "H5Eset_push" function, which should only be used by
developers doing debugging.
Diffstat (limited to 'src')
-rw-r--r--src/H5E.c2
-rw-r--r--src/H5Eproto.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/H5E.c b/src/H5E.c
index a697f39..f893d55 100644
--- a/src/H5E.c
+++ b/src/H5E.c
@@ -345,6 +345,7 @@ done:
PABLO_TRACE_OFF(H5E_mask, ID_H5Epush); /* ignore ret_value set */
} /* H5Epush */
+#ifdef H5_ERROR_DEBUG
/*--------------------------------------------------------------------------
NAME
H5Eset_push -- Set the function to call when an error value is reported
@@ -391,4 +392,5 @@ done:
FUNC_LEAVE(H5E_mask, ID_H5Eset_push, ret_value);
} /* H5Eset_push */
+#endif /* H5_ERROR_DEBUG */
diff --git a/src/H5Eproto.h b/src/H5Eproto.h
index da011bf..b97d0c0 100644
--- a/src/H5Eproto.h
+++ b/src/H5Eproto.h
@@ -114,7 +114,9 @@ extern "C"
/* Functions in H5E.c */
int32 H5Enew_err_stack(uintn initial_stack_size);
intn H5Edelete_err_stack(int32 err_hand);
+#ifdef H5_ERROR_DEBUG
H5E_push_func_t H5Eset_push(H5E_push_func_t func);
+#endif /* H5_ERROR_DEBUG */
void H5Epush(hdf_maj_err_code_t maj, hdf_min_err_code_t min, const char *function_name, const char *file_name, intn line);
void H5Eclear(int32 err_hand);