diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2003-06-04 15:22:23 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2003-06-04 15:22:23 (GMT) |
commit | bb042d83c73df85f30c7103e9ff93b5cc630fced (patch) | |
tree | 5638b25ee89850f8066baadb25d24a7f5e688f6c /c++ | |
parent | 112aff61caec385132f05fc50efe8d3ce3357929 (diff) | |
download | hdf5-bb042d83c73df85f30c7103e9ff93b5cc630fced.zip hdf5-bb042d83c73df85f30c7103e9ff93b5cc630fced.tar.gz hdf5-bb042d83c73df85f30c7103e9ff93b5cc630fced.tar.bz2 |
[svn-r6950] Purpose:
API tweak.
Description:
The H5Sget_select_bounds() API call was using hsize_t arrays for retrieving
the 'start' and 'end' coordinates, which is counter to the rest of the dataspace
API.
Solution:
Change the arrays to be hssize_t instead.
Platforms tested:
FreeBSD 4.8 (sleipnir) w/C++
FreeBSD 4.8 (sleipnir) w/parallel
h5committested
Misc. update:
Updated all docs for this change.
Added 1.4 compatibility #ifdef's
Diffstat (limited to 'c++')
-rw-r--r-- | c++/src/H5DataSpace.cpp | 2 | ||||
-rw-r--r-- | c++/src/H5DataSpace.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/c++/src/H5DataSpace.cpp b/c++/src/H5DataSpace.cpp index 091fa10..c6c64a8 100644 --- a/c++/src/H5DataSpace.cpp +++ b/c++/src/H5DataSpace.cpp @@ -266,7 +266,7 @@ void DataSpace::getSelectElemPointlist ( hsize_t startpoint, hsize_t numpoints, } // Gets the bounding box containing the current selection -void DataSpace::getSelectBounds ( hsize_t* start, hsize_t* end ) const +void DataSpace::getSelectBounds ( hssize_t* start, hssize_t* end ) const { herr_t ret_value = H5Sget_select_bounds( id, start, end ); if( ret_value < 0 ) diff --git a/c++/src/H5DataSpace.h b/c++/src/H5DataSpace.h index 2515ef0..87b5a81 100644 --- a/c++/src/H5DataSpace.h +++ b/c++/src/H5DataSpace.h @@ -81,7 +81,7 @@ class H5_DLLCPP DataSpace : public IdComponent { void getSelectElemPointlist( hsize_t startpoint, hsize_t numpoints, hsize_t *buf ) const; // Gets the bounding box containing the current selection. - void getSelectBounds( hsize_t* start, hsize_t* end ) const; + void getSelectBounds( hssize_t* start, hssize_t* end ) const; // Selects array elements to be included in the selection for // this dataspace. |