diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 1998-07-06 21:01:59 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 1998-07-06 21:01:59 (GMT) |
commit | 650e88756c4d81f819141d28e9239fbb6446ed30 (patch) | |
tree | b072d230ee7c60c7ab3548e04d291f81b8c1ceda /test/external.c | |
parent | 43f13aeca28a722d6436d43dcd84a59918dc0950 (diff) | |
download | hdf5-650e88756c4d81f819141d28e9239fbb6446ed30.zip hdf5-650e88756c4d81f819141d28e9239fbb6446ed30.tar.gz hdf5-650e88756c4d81f819141d28e9239fbb6446ed30.tar.bz2 |
[svn-r452] Changed tests to use the new dataspace API calls. Still need to add tests for
point selections and strides.
Diffstat (limited to 'test/external.c')
-rw-r--r-- | test/external.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/external.c b/test/external.c index d552ac0..03943f8 100644 --- a/test/external.c +++ b/test/external.c @@ -599,7 +599,7 @@ test_2 (void) hs_space = H5Scopy (space); assert (hs_space>=0); - status = H5Sset_hyperslab (hs_space, &hs_start, &hs_count, NULL); + status = H5Sselect_hyperslab (hs_space, H5S_SELECT_SET, &hs_start, NULL, &hs_count, NULL); assert (status>=0); memset (whole, 0, sizeof(whole)); @@ -751,7 +751,7 @@ test_3 (void) for (i=0; i<hs_count; i++) { whole[i] = 100+i; } - status = H5Sset_hyperslab (file_space, &hs_start, &hs_count, NULL); + status = H5Sselect_hyperslab (file_space, H5S_SELECT_SET, &hs_start, NULL, &hs_count, NULL); assert (status>=0); status = H5Dwrite (dset, H5T_NATIVE_INT, mem_space, file_space, H5P_DEFAULT, whole); |