diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 1998-10-26 21:18:54 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 1998-10-26 21:18:54 (GMT) |
commit | 69d3cf72b3498e4f6ee95425881cf227f7f71c93 (patch) | |
tree | 686a04bfbdced05835ec3d075a367c95c96cab3f /src/H5Odtype.c | |
parent | 4d5f1b72de9f2439904975da411dea4f8095fe7b (diff) | |
download | hdf5-69d3cf72b3498e4f6ee95425881cf227f7f71c93.zip hdf5-69d3cf72b3498e4f6ee95425881cf227f7f71c93.tar.gz hdf5-69d3cf72b3498e4f6ee95425881cf227f7f71c93.tar.bz2 |
[svn-r797] Changed comments from returning "SUCCEED/FAIL" to "non-negative/negative"
and also fixed a few more explicit checks against FAIL.
Diffstat (limited to 'src/H5Odtype.c')
-rw-r--r-- | src/H5Odtype.c | 24 |
1 files changed, 7 insertions, 17 deletions
diff --git a/src/H5Odtype.c b/src/H5Odtype.c index 26bb58d..e68d352 100644 --- a/src/H5Odtype.c +++ b/src/H5Odtype.c @@ -66,9 +66,7 @@ static hbool_t interface_initialize_g = FALSE; * * Purpose: Decodes a data type * - * Return: Success: SUCCEED - * - * Failure: FAIL + * Return: Non-negative on success/Negative on failure * * Programmer: Robb Matzke * Monday, December 8, 1997 @@ -243,9 +241,7 @@ H5O_dtype_decode_helper(const uint8 **pp, H5T_t *dt) * * Purpose: Encodes a data type. * - * Return: Success: SUCCEED - * - * Failure: FAIL + * Return: Non-negative on success/Negative on failure * * Programmer: Robb Matzke * Monday, December 8, 1997 @@ -538,7 +534,7 @@ H5O_dtype_decode(H5F_t __unused__ *f, const uint8 *p, const uint8 *p; IN: the raw information buffer const void *mesg; IN: Pointer to the simple datatype struct RETURNS - SUCCEED/FAIL + Non-negative on success/Negative on failure DESCRIPTION This function encodes the native memory form of the simple datatype message in the "raw" disk form. @@ -667,9 +663,7 @@ H5O_dtype_size(H5F_t *f, const void *mesg) * Purpose: Frees resources within a data type message, but doesn't free * the message itself. * - * Return: Success: SUCCEED - * - * Failure: FAIL + * Return: Non-negative on success/Negative on failure * * Programmer: Robb Matzke * Tuesday, December 9, 1997 @@ -705,9 +699,7 @@ H5O_dtype_reset(void *_mesg) * Purpose: Returns information about where the shared message is located * by filling in the SH shared message struct. * - * Return: Success: SUCCEED - * - * Failure: FAIL + * Return: Non-negative on success/Negative on failure * * Programmer: Robb Matzke * Monday, June 1, 1998 @@ -744,9 +736,7 @@ H5O_dtype_get_share (H5F_t __unused__ *f, const void *_mesg, * * Purpose: Copies sharing information from SH into the message. * - * Return: Success: SUCCEED - * - * Failure: FAIL + * Return: Non-negative on success/Negative on failure * * Programmer: Robb Matzke * Thursday, June 4, 1998 @@ -786,7 +776,7 @@ H5O_dtype_set_share (H5F_t __unused__ *f, void *_mesg/*in,out*/, intn indent; IN: Amount to indent information by intn fwidth; IN: Field width (?) RETURNS - SUCCEED/FAIL + Non-negative on success/Negative on failure DESCRIPTION This function prints debugging output to the stream passed as a parameter. |