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 /doc | |
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 'doc')
-rwxr-xr-x | doc/html/ADGuide/Changes.html | 4 | ||||
-rw-r--r-- | doc/html/Intro/IntroExamples.html | 4 | ||||
-rw-r--r-- | doc/html/RM_H5S.html | 8 | ||||
-rw-r--r-- | doc/html/Tutor/examples/h5_ref2regr.c | 4 | ||||
-rw-r--r-- | doc/html/fortran/h5s_FORTRAN.html | 4 |
5 files changed, 14 insertions, 10 deletions
diff --git a/doc/html/ADGuide/Changes.html b/doc/html/ADGuide/Changes.html index 47a4369..79df8e7 100755 --- a/doc/html/ADGuide/Changes.html +++ b/doc/html/ADGuide/Changes.html @@ -97,6 +97,10 @@ H5function6 following the call to "flush". Actions in the "flush" call that are duplicated in the VFL "close" call may be omitted by the VFL driver. + <dt><code>H5Sget_select_bounds</code> + <dd>The 'start' and 'end' parameters have changed from + <code>'hsize_t *'</code> + to <code>'hssize_t *'</code> to better match the rest of the dataspace API. <dt><code>H5function</code> <dd>Description of change </dl> diff --git a/doc/html/Intro/IntroExamples.html b/doc/html/Intro/IntroExamples.html index a3bd8dd..b5be1af 100644 --- a/doc/html/Intro/IntroExamples.html +++ b/doc/html/Intro/IntroExamples.html @@ -1970,8 +1970,8 @@ main(void) hid_t sid1, /* Dataspace ID #1 */ sid2; /* Dataspace ID #2 */ hsize_t * coords; /* Coordinate buffer */ - hsize_t low[SPACE2_RANK]; /* Selection bounds */ - hsize_t high[SPACE2_RANK]; /* Selection bounds */ + hssize_t low[SPACE2_RANK]; /* Selection bounds */ + hssize_t high[SPACE2_RANK]; /* Selection bounds */ hdset_reg_ref_t *rbuf; /* buffer to to read disk */ int *drbuf; /* Buffer for reading numeric data from disk */ int i, j; /* counting variables */ diff --git a/doc/html/RM_H5S.html b/doc/html/RM_H5S.html index 9b29d93..ec39de2 100644 --- a/doc/html/RM_H5S.html +++ b/doc/html/RM_H5S.html @@ -1165,8 +1165,8 @@ of the <cite>HDF5 User's Guide.</cite>. <dt><strong>Name:</strong> <a name="Dataspace-SelectBounds">H5Sget_select_bounds</a> <dt><strong>Signature:</strong> <dd><em>herr_t </em><code>H5Sget_select_bounds</code>(<em>hid_t </em><code>space_id</code>, - <em>hsize_t *</em><code>start</code>, - <em>hsize_t *</em><code>end</code> + <em>hssize_t *</em><code>start</code>, + <em>hssize_t *</em><code>end</code> ) <dt><strong>Purpose:</strong> <dd>Gets the bounding box containing the current selection. @@ -1192,9 +1192,9 @@ of the <cite>HDF5 User's Guide.</cite>. <dl> <dt><em>hid_t</em> <code>space_id</code> <dd>IN: Identifier of dataspace to query. - <dt><em>hsize_t *</em><code>start</code> + <dt><em>hssize_t *</em><code>start</code> <dd>OUT: Starting coordinates of the bounding box. - <dt><em>hsize_t *</em><code>end</code> + <dt><em>hssize_t *</em><code>end</code> <dd>OUT: Ending coordinates of the bounding box, i.e., the coordinates of the diagonally opposite corner. </dl> diff --git a/doc/html/Tutor/examples/h5_ref2regr.c b/doc/html/Tutor/examples/h5_ref2regr.c index 9f747ae..26b5daf 100644 --- a/doc/html/Tutor/examples/h5_ref2regr.c +++ b/doc/html/Tutor/examples/h5_ref2regr.c @@ -24,8 +24,8 @@ main(void) hid_t sid1, /* Dataspace ID #1 */ sid2; /* Dataspace ID #2 */ hsize_t * coords; /* Coordinate buffer */ - hsize_t low[SPACE2_RANK]; /* Selection bounds */ - hsize_t high[SPACE2_RANK]; /* Selection bounds */ + hssize_t low[SPACE2_RANK]; /* Selection bounds */ + hssize_t high[SPACE2_RANK]; /* Selection bounds */ hdset_reg_ref_t *rbuf; /* buffer to to read disk */ int *drbuf; /* Buffer for reading numeric data from disk */ int i, j; /* counting variables */ diff --git a/doc/html/fortran/h5s_FORTRAN.html b/doc/html/fortran/h5s_FORTRAN.html index b71b459..731233b 100644 --- a/doc/html/fortran/h5s_FORTRAN.html +++ b/doc/html/fortran/h5s_FORTRAN.html @@ -795,9 +795,9 @@ FORTRAN Dataspace API -- h5s IMPLICIT NONE INTEGER(HID_T), INTENT(IN) :: space_id ! Dataspace identifier - INTEGER(HSIZE_T), DIMENSION(*), INTENT(OUT) :: start + INTEGER(HSSIZE_T), DIMENSION(*), INTENT(OUT) :: start ! Starting coordinate of the bounding box - INTEGER(HSIZE_T), DIMENSION(*), INTENT(OUT) ::end + INTEGER(HSSIZE_T), DIMENSION(*), INTENT(OUT) ::end ! Ending coordinate (opposite corner) ! of the bounding box INTEGER, INTENT(OUT) :: hdferr ! Error code |