[svn-r5] ifdef'ed out the "H5Eset_push" function, which should only be used by

developers doing debugging.
This commit is contained in:
Quincey Koziol 1997-08-01 15:08:44 -05:00
parent fc4bcbc21f
commit d93c5653fd
2 changed files with 4 additions and 0 deletions

View File

@ -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 */

View File

@ -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);