diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 1997-08-01 20:08:44 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 1997-08-01 20:08:44 (GMT) |
commit | d93c5653fd3526ba1f67b10ebadab01d5cea565f (patch) | |
tree | 7261dbaa2b53f4af29a37f104641c462832ca748 /src | |
parent | fc4bcbc21f9a530aa03e1525516507de2c8dadb5 (diff) | |
download | hdf5-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.c | 2 | ||||
-rw-r--r-- | src/H5Eproto.h | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -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); |