diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 1997-08-01 20:52:20 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 1997-08-01 20:52:20 (GMT) |
commit | 332b6fd6765b28bfd1083af6e366ccc621feea1e (patch) | |
tree | 4f686a4261a33c6ef999118eb255af42c46073c6 /src/H5Eproto.h | |
parent | 412e5606a83551629d2a6b15bc89b55d2de6081f (diff) | |
download | hdf5-332b6fd6765b28bfd1083af6e366ccc621feea1e.zip hdf5-332b6fd6765b28bfd1083af6e366ccc621feea1e.tar.gz hdf5-332b6fd6765b28bfd1083af6e366ccc621feea1e.tar.bz2 |
[svn-r7] Changed some text for the file errors to make them more generic. Also, updated
the HRETURN_ERROR macro to take Pablo tracing parameters and call the Pablo
tracing function before calling 'return()'.
Diffstat (limited to 'src/H5Eproto.h')
-rw-r--r-- | src/H5Eproto.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5Eproto.h b/src/H5Eproto.h index b97d0c0..d6e1ccd 100644 --- a/src/H5Eproto.h +++ b/src/H5Eproto.h @@ -30,7 +30,7 @@ same assumptions as HERROR. IN ADDITION, this macro causes a return from the calling routine */ -#define HRETURN_ERROR(maj, min, ret_val) {HERROR(maj, min); return(ret_val);} +#define HRETURN_ERROR(pablo_mask, pablo_func_id, maj, min, ret_val) {HERROR(maj, min); PABLO_TRACE_OFF(pablo_mask,pablo_func_id); return(ret_val);} /* HGOTO_ERROR macro, used to facilitate error reporting. Makes same assumptions as HERROR. IN ADDITION, this macro causes @@ -75,7 +75,7 @@ typedef enum H5E_UNINITIALIZED, /* Information is unitialized */ H5E_UNSUPPORTED, /* Feature is unsupported */ H5E_BADTYPE, /* Incorrect type found */ - H5E_BADRANGE, /* Incorrect range of argument */ + H5E_BADRANGE, /* Argument out of range */ /* Resource errors */ H5E_NOSPACE, /* No space available for allocation */ @@ -89,9 +89,9 @@ typedef enum H5E_BADFILE, /* Bad file ID accessed */ /* Generic low-level file I/O errors */ - H5E_SEEKERROR, /* File seek failed */ - H5E_READERROR, /* File read failed */ - H5E_WRITEERROR, /* File write failed */ + H5E_SEEKERROR, /* Seek failed */ + H5E_READERROR, /* Read failed */ + H5E_WRITEERROR, /* Write failed */ /* Function entry/exit interface errors */ H5E_CANTINIT, /* Can't initialize interface */ |