summaryrefslogtreecommitdiffstats
path: root/src/H5T.c
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1998-02-28 18:19:05 (GMT)
committerRobb Matzke <matzke@llnl.gov>1998-02-28 18:19:05 (GMT)
commit808a5e6be1b7f1025c6b1182e160cefbce0f8e68 (patch)
tree59eabaf3e7991d5791b83dbaa0d5797fc5e44ae9 /src/H5T.c
parent0b4d32bb4a12fe0e34026c0f069aa99bf34cd834 (diff)
downloadhdf5-808a5e6be1b7f1025c6b1182e160cefbce0f8e68.zip
hdf5-808a5e6be1b7f1025c6b1182e160cefbce0f8e68.tar.gz
hdf5-808a5e6be1b7f1025c6b1182e160cefbce0f8e68.tar.bz2
[svn-r302] Changes since 19980227
---------------------- ./html/Errors.html [NEW] ./html/H5.user.html ./MANIFEST Documents the new error handling interface and gives examples. ./src/H5.c ./src/H5private.h ./src/H5Apublic.h ./src/H5E.c ./src/H5Eprivate.h ./src/H5Epublic.h Rewrote error handling. Got rid of `push' overloading and added a few API functions. The error stack is statically allocated and not entered into H5A, simplifying error handling within the error handler. Rudimentary support for threads. Changed the names of some errors. ./src/H5G.c ./src/H5Gnode.c ./src/H5H.c ./src/H5O.c ./src/H5T.c Changed H5ECLEAR to H5E_clear(). ./src/Makefile.in Alphabetized source list. ./test/dsets.c Turned off error reporting around functions that are expected to fail. Error messages are sent to stdout. ./test/testhdf5.c ./test/testhdf5.h Turned off automatic error reporting since this file mostly calls internal functions and does its own error reporting.
Diffstat (limited to 'src/H5T.c')
-rw-r--r--src/H5T.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/H5T.c b/src/H5T.c
index e932e0f..d7fca16 100644
--- a/src/H5T.c
+++ b/src/H5T.c
@@ -289,7 +289,7 @@ H5T_term_interface(void)
fprintf (stderr, "HDF5-DIAG: conversion function failed "
"to free private data\n");
#endif
- H5ECLEAR; /*ignore the error*/
+ H5E_clear(); /*ignore the error*/
}
}
}
@@ -2221,7 +2221,7 @@ H5Tregister_soft(H5T_class_t src_cls, H5T_class_t dst_cls, H5T_conv_t func)
fprintf (stderr, "HDF5-DIAG: conversion function failed "
"to free private data.\n");
#endif
- H5ECLEAR;
+ H5E_clear();
}
}
path->func = func;
@@ -2231,7 +2231,7 @@ H5Tregister_soft(H5T_class_t src_cls, H5T_class_t dst_cls, H5T_conv_t func)
/* Release temporary atoms */
H5A_dec_ref(src_id);
H5A_dec_ref(dst_id);
- H5ECLEAR;
+ H5E_clear();
}
FUNC_LEAVE(SUCCEED);
@@ -2293,7 +2293,7 @@ H5Tunregister(H5T_conv_t func)
fprintf (stderr, "HDF5-DIAG: conversion function failed to "
"free private data.\n");
#endif
- H5ECLEAR;
+ H5E_clear();
}
HDmemset (&(path->cdata), 0, sizeof(H5T_cdata_t));
@@ -2324,7 +2324,7 @@ H5Tunregister(H5T_conv_t func)
0, NULL, NULL) >= 0) {
path->func = H5T_soft_g[j].func;
} else {
- H5ECLEAR;
+ H5E_clear();
HDmemset (&(path->cdata), 0, sizeof(H5T_cdata_t));
}
H5A_dec_ref(src_id);
@@ -3157,7 +3157,7 @@ H5T_path_find(const H5T_t *src, const H5T_t *dst, hbool_t create,
fprintf (stderr, "HDF5-DIAG: conversion function init "
"failed\n");
#endif
- H5ECLEAR; /*ignore the failure*/
+ H5E_clear(); /*ignore the failure*/
}
H5A_dec_ref(src_id);
H5A_dec_ref(dst_id);
@@ -3179,7 +3179,7 @@ H5T_path_find(const H5T_t *src, const H5T_t *dst, hbool_t create,
if ((H5T_soft_g[i].func) (src_id, dst_id, &(path->cdata),
H5T_CONV_INIT, NULL, NULL) < 0) {
HDmemset (&(path->cdata), 0, sizeof(H5T_cdata_t));
- H5ECLEAR; /*ignore the error*/
+ H5E_clear(); /*ignore the error*/
} else {
path->func = H5T_soft_g[i].func;
}