diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2000-10-18 16:43:40 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2000-10-18 16:43:40 (GMT) |
commit | 29c5ab73e4bb9ffc281f73325551228aed74522c (patch) | |
tree | 5d509fa9a290f2fc8112c9ed632ed19c29b14999 /src/H5Sprivate.h | |
parent | 07d218b717d42d99a4c48fa8d14e29ed7e998d43 (diff) | |
download | hdf5-29c5ab73e4bb9ffc281f73325551228aed74522c.zip hdf5-29c5ab73e4bb9ffc281f73325551228aed74522c.tar.gz hdf5-29c5ab73e4bb9ffc281f73325551228aed74522c.tar.bz2 |
[svn-r2694] Purpose:
Bug fix
Description:
H5Sget_simple_extent_npoints return type is hsize_t and the error value is
0, but it is possible to have 0 points in a dataset with an unlimited
dimension, but no data written yet.
Solution:
Changed H5Sget_simple_extent_npoints return type to hssize_t and the error
value to -1
Platforms tested:
FreeBSD 4.1.1 (hawkwind)
Diffstat (limited to 'src/H5Sprivate.h')
-rw-r--r-- | src/H5Sprivate.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Sprivate.h b/src/H5Sprivate.h index 3290a2b..d5b7fc9 100644 --- a/src/H5Sprivate.h +++ b/src/H5Sprivate.h @@ -200,7 +200,7 @@ __DLL__ H5S_t *H5S_copy(const H5S_t *src); __DLL__ herr_t H5S_close(H5S_t *ds); __DLL__ H5S_conv_t *H5S_find(const H5S_t *mem_space, const H5S_t *file_space); __DLL__ H5S_class_t H5S_get_simple_extent_type(const H5S_t *ds); -__DLL__ hsize_t H5S_get_simple_extent_npoints(const H5S_t *ds); +__DLL__ hssize_t H5S_get_simple_extent_npoints(const H5S_t *ds); __DLL__ hsize_t H5S_get_npoints_max(const H5S_t *ds); __DLL__ intn H5S_get_simple_extent_ndims(const H5S_t *ds); __DLL__ intn H5S_get_simple_extent_dims(const H5S_t *ds, hsize_t dims[]/*out*/, |