summaryrefslogtreecommitdiffstats
path: root/src/H5public.h
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1998-10-27 03:56:31 (GMT)
committerRobb Matzke <matzke@llnl.gov>1998-10-27 03:56:31 (GMT)
commit1203b1652882a33781ae501dc004f9adb3bef37a (patch)
treeddf1e4d7fc82d8ee10a27d6f63726d1ff25d8ddc /src/H5public.h
parentcd6234d0a02325bc45036b958077e008c4a70fc2 (diff)
downloadhdf5-1203b1652882a33781ae501dc004f9adb3bef37a.zip
hdf5-1203b1652882a33781ae501dc004f9adb3bef37a.tar.gz
hdf5-1203b1652882a33781ae501dc004f9adb3bef37a.tar.bz2
[svn-r802] Misc. white space adjustments here and there, mostly in comments.
Diffstat (limited to 'src/H5public.h')
-rw-r--r--src/H5public.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/H5public.h b/src/H5public.h
index d5e5509..dfc8525 100644
--- a/src/H5public.h
+++ b/src/H5public.h
@@ -49,8 +49,9 @@ typedef int herr_t;
/*
* Boolean type. Successful return values are zero (false) or positive
* (true). The typical true value is 1 but don't bet on it. Boolean
- * functions can also fail, returning a negative value as described above.
- * The proper way to test for truth is:
+ * functions cannot fail. Functions that return `htri_t' however return zero
+ * (false), positive (true), or negative (failure). The proper way to test
+ * for truth from a htri_t function is:
*
* if ((retval = H5Tcommitted(type))>0) {
* printf("data type is committed\n");
@@ -60,8 +61,9 @@ typedef int herr_t;
* printf("error determining whether data type is committed\n");
* }
*/
-typedef unsigned int hbool_t; /* For truly boolean values */
-typedef int htri_t; /* For values that might be TRUE/FALSE/FAIL */
+typedef unsigned int hbool_t;
+typedef int htri_t;
+
/*
* The sizes of file-objects in hdf5 have their own types defined here. On