summaryrefslogtreecommitdiffstats
path: root/src/H5Eprivate.h
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1998-01-28 21:43:08 (GMT)
committerRobb Matzke <matzke@llnl.gov>1998-01-28 21:43:08 (GMT)
commitd4a3224c0fde991cdf65392aeeae326c46406121 (patch)
tree462dea6a59f895530173943dcf18930916868a8b /src/H5Eprivate.h
parentc131a549dc1a9c8456d8cf0e44a56187dae1c268 (diff)
downloadhdf5-d4a3224c0fde991cdf65392aeeae326c46406121.zip
hdf5-d4a3224c0fde991cdf65392aeeae326c46406121.tar.gz
hdf5-d4a3224c0fde991cdf65392aeeae326c46406121.tar.bz2
[svn-r193] Changes since 19980128
---------------------- ./MANIFEST Added new config files. ./src/H5private.h Changed FUNC_ENTER() so it calls H5Eclear() for all API functions but not for any private functions. It also prints the names of all API functions on file 55 (just for the prototype) so we can get a list of API functions called with the Bourne shell commands like: ./testhdf5 55>api_list or ./testhdf5 55>&1 1>/dev/null 2>&1 | less Otherwise the names are silently discarded. ./src/H5.c ./src/H5C.c ./src/H5D.c ./src/H5F.c ./src/H5G.c ./src/H5M.c ./src/H5P.c ./src/H5T.c Removed `H5ECLEAR' from lots of places in the source code. ./src/H5E.c ./src/H5Eprivate.h Recursion is a problem here, so to disable a call to H5Eclear() from FUNC_ENTER just define a local variable like this before you call FUNC_ENTER: const H5E_clearable_g = FALSE; Unfortunately this results in a warning: declaration of `H5E_clearable_g' shadows global declaration. Good thing it's only used in two places.
Diffstat (limited to 'src/H5Eprivate.h')
-rw-r--r--src/H5Eprivate.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5Eprivate.h b/src/H5Eprivate.h
index 77bcab6..8b59828 100644
--- a/src/H5Eprivate.h
+++ b/src/H5Eprivate.h
@@ -122,6 +122,7 @@ typedef struct H5E_t {
/* Private global variables in H5E.c */
extern hid_t H5E_thrdid_g; /* Thread-specific "global" error-handler ID */
extern hbool_t install_atexit; /* Whether to install the atexit routine */
+extern const hbool_t H5E_clearable_g; /* Safe to call H5Eclear() on enter?*/
herr_t H5E_close (H5E_t *estack);
herr_t H5E_clear (H5E_t *estack);