[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
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user