summaryrefslogtreecommitdiffstats
path: root/src/H5E.c
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1998-08-27 16:48:50 (GMT)
committerRobb Matzke <matzke@llnl.gov>1998-08-27 16:48:50 (GMT)
commiteb5e01d37ca2570afc50756c9ed6a0be214502ec (patch)
tree08281269dc5b2eeef48286fb991bd6a05f71f6a3 /src/H5E.c
parent11f1b67c878b17abc225d09fb2a2019f338f92b2 (diff)
downloadhdf5-eb5e01d37ca2570afc50756c9ed6a0be214502ec.zip
hdf5-eb5e01d37ca2570afc50756c9ed6a0be214502ec.tar.gz
hdf5-eb5e01d37ca2570afc50756c9ed6a0be214502ec.tar.bz2
[svn-r620] Changes since 19980825
---------------------- ./MANIFEST ./src/H5R.c [NEW] ./src/H5Rprivate.h [NEW] ./src/H5Rpublic.h [NEW] ./src/Makefile.in ./src/hdf5.h ./test/ragged.c [NEW] Preliminary support for 2d ragged arrays for Mark Miller and Jim Reus. Not fully implemented yet. The test is not actually part of `make test' because we still have some memory problems. ./src/H5E.c ./src/H5Epublic.h Added H5E_RAGGED as a major error number. ./bin/release Checks the MANIFEST file against `svf ls' on systems that have it. ./bin/trace Fixed a bug that caused arguments of type `void *x[]' to not be handled. ./src/H5.c Removed unused variables and changed a couple types to fix compiler warnings. Added tracing support for ragged array object ID's and arrays of pointers. ./src/H5D.c H5Dcreate() will complain if either of the property lists are invalid (instead of using the default). ./src/H5D.c ./src/H5Dprivate.h Split H5Dget_space() into an API and internal function so it can be called from the new ragged array layer. ./src/H5Fistore.c Fixed warnings about unsigned vs. signed comparisons. ./src/H5Flow.c Fixed a warning about a variable being shadowed in the MPI-IO stuff. ./src/H5Iprivate.h ./src/H5Ipublic.h Added the H5_RAGGED atom group. ./src/H5Shyper.c Fixed some freeing-free-memory errors that resulted when certain arrays were freed but the pointers were left in the data structures. I simply set the pointers to null after they were freed. ./src/H5Sprivate.h ./src/H5Sselect.c Split the H5Sselect_hyperslab() function into an API and a private function so it could be called from the ragged array layer. Added H5S_SEL_ERROR and H5S_SEL_N to the switch statements to get rid or compiler warnings. ./src/H5Tconv.c Removed a misleading comment. ./test/bittests.c Fixed a warning about a printf(). ./test/cmpd_dset.c Fixed warnings about unused variables because of test #11 being commented out. ./bin/trace Shortened the right margin for the output to allow room for the `);' at the end of the TRACE() macros.
Diffstat (limited to 'src/H5E.c')
-rw-r--r--src/H5E.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/H5E.c b/src/H5E.c
index 87de26c..54317f5 100644
--- a/src/H5E.c
+++ b/src/H5E.c
@@ -57,6 +57,7 @@ static const H5E_major_mesg_t H5E_major_mesg_g[] = {
{H5E_ATTR, "Attribute layer"},
{H5E_PLINE, "Data filters layer"},
{H5E_EFL, "External file list"},
+ {H5E_RAGGED, "Ragged array layer"},
};
static const H5E_minor_mesg_t H5E_minor_mesg_g[] = {
@@ -157,7 +158,7 @@ void *H5E_auto_data_g = stderr;
*-------------------------------------------------------------------------
*/
herr_t
-H5Eset_auto (H5E_auto_t func, void *client_data)
+H5Eset_auto(H5E_auto_t func, void *client_data)
{
FUNC_ENTER (H5Eset_auto, FAIL);
H5TRACE2("e","xx",func,client_data);
@@ -188,7 +189,7 @@ H5Eset_auto (H5E_auto_t func, void *client_data)
*-------------------------------------------------------------------------
*/
herr_t
-H5Eget_auto (H5E_auto_t *func, void **client_data)
+H5Eget_auto(H5E_auto_t *func, void **client_data)
{
FUNC_ENTER (H5Eget_auto, FAIL);
H5TRACE2("e","*x*x",func,client_data);
@@ -219,7 +220,7 @@ H5Eget_auto (H5E_auto_t *func, void **client_data)
*-------------------------------------------------------------------------
*/
herr_t
-H5Eclear (void)
+H5Eclear(void)
{
FUNC_ENTER (H5Eclear, FAIL);
H5TRACE0("e","");
@@ -248,7 +249,7 @@ H5Eclear (void)
*-------------------------------------------------------------------------
*/
herr_t
-H5Eprint (FILE *stream)
+H5Eprint(FILE *stream)
{
H5E_t *estack = H5E_get_my_stack ();
hbool_t H5E_clearable_g = FALSE; /*override global*/
@@ -286,7 +287,7 @@ H5Eprint (FILE *stream)
*-------------------------------------------------------------------------
*/
herr_t
-H5Ewalk (H5E_direction_t direction, H5E_walk_t func, void *client_data)
+H5Ewalk(H5E_direction_t direction, H5E_walk_t func, void *client_data)
{
hbool_t H5E_clearable_g = FALSE; /*override global*/
herr_t status = FAIL;
@@ -334,7 +335,7 @@ H5Ewalk (H5E_direction_t direction, H5E_walk_t func, void *client_data)
*-------------------------------------------------------------------------
*/
herr_t
-H5Ewalk_cb (int n, H5E_error_t *err_desc, void *client_data)
+H5Ewalk_cb(int n, H5E_error_t *err_desc, void *client_data)
{
FILE *stream = (FILE *)client_data;
const char *maj_str = NULL;