summaryrefslogtreecommitdiffstats
path: root/src/H5public.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1998-10-26 22:44:13 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1998-10-26 22:44:13 (GMT)
commit7dcbae97f23f8409ed8d60640b3b2a8aaed70978 (patch)
tree54ba54ec5cdcda9651d63a4471a9a9ec2204e767 /src/H5public.h
parenta7b166727dce2c23c2a0c7805c3e3b8d38e4be2d (diff)
downloadhdf5-7dcbae97f23f8409ed8d60640b3b2a8aaed70978.zip
hdf5-7dcbae97f23f8409ed8d60640b3b2a8aaed70978.tar.gz
hdf5-7dcbae97f23f8409ed8d60640b3b2a8aaed70978.tar.bz2
[svn-r800] Made a "htri_t" as a return value from "boolean" functions returning
TRUE/FALSE/FAIL, hbool_t is now strictly for true boolean values.
Diffstat (limited to 'src/H5public.h')
-rw-r--r--src/H5public.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5public.h b/src/H5public.h
index 12bada4..d5e5509 100644
--- a/src/H5public.h
+++ b/src/H5public.h
@@ -60,7 +60,8 @@ typedef int herr_t;
* printf("error determining whether data type is committed\n");
* }
*/
-typedef int hbool_t;
+typedef unsigned int hbool_t; /* For truly boolean values */
+typedef int htri_t; /* For values that might be TRUE/FALSE/FAIL */
/*
* The sizes of file-objects in hdf5 have their own types defined here. On