diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 1999-03-11 21:03:41 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 1999-03-11 21:03:41 (GMT) |
commit | 84b5b71e84478ff367019891dcecf70fcccb7df2 (patch) | |
tree | 71a45fa3f6a2347f70bdae63d72278814eb14148 /test/trefer.c | |
parent | fbef4e61ed699fa704ebc8c1729248c05d63e9ee (diff) | |
download | hdf5-84b5b71e84478ff367019891dcecf70fcccb7df2.zip hdf5-84b5b71e84478ff367019891dcecf70fcccb7df2.tar.gz hdf5-84b5b71e84478ff367019891dcecf70fcccb7df2.tar.bz2 |
[svn-r1136] Updated test for expanded API.
Diffstat (limited to 'test/trefer.c')
-rw-r--r-- | test/trefer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/trefer.c b/test/trefer.c index 48fdd85..20b641d 100644 --- a/test/trefer.c +++ b/test/trefer.c @@ -362,7 +362,7 @@ test_reference_region(void) ret = H5Sget_select_hyper_nblocks(sid2); VERIFY(ret, 1, "H5Sget_select_hyper_nblocks"); coords=HDmalloc(ret*SPACE2_RANK*sizeof(hsize_t)*2); /* allocate space for the hyperslab blocks */ - ret = H5Sget_select_hyper_blocklist(sid2,coords); + ret = H5Sget_select_hyper_blocklist(sid2,0,ret,coords); CHECK(ret, FAIL, "H5Sget_select_hyper_blocklist"); VERIFY(coords[0], 2, "Hyperslab Coordinates"); VERIFY(coords[1], 2, "Hyperslab Coordinates"); @@ -390,7 +390,7 @@ test_reference_region(void) ret = H5Sget_select_elem_npoints(sid2); VERIFY(ret, 10, "H5Sget_select_elem_npoints"); coords=HDmalloc(ret*SPACE2_RANK*sizeof(hsize_t)); /* allocate space for the element points */ - ret = H5Sget_select_elem_pointlist(sid2,coords); + ret = H5Sget_select_elem_pointlist(sid2,0,ret,coords); CHECK(ret, FAIL, "H5Sget_select_elem_pointlist"); VERIFY((hssize_t)coords[0], coord1[0][0], "Element Coordinates"); VERIFY((hssize_t)coords[1], coord1[0][1], "Element Coordinates"); |