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/big.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/big.c')
-rw-r--r-- | test/big.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -85,7 +85,7 @@ writer (int wrt_n) for (i=0; i<wrt_n; i++) { hs_start[0] = randll (size2[0]); HDfprintf (stdout, "#%03d 0x%016Hx\n", i, hs_start[0]); - H5Sset_hyperslab (space2, hs_start, hs_size, NULL); + H5Sselect_hyperslab (space2, H5S_SELECT_SET, hs_start, NULL, hs_size, NULL); for (j=0; j<WRT_SIZE; j++) { buf[j] = i+1; } @@ -151,7 +151,7 @@ reader (const char *script_name) HDfprintf (stdout, "#%03d 0x%016Hx", i, hs_offset[0]); fflush (stdout); - H5Sset_hyperslab (fspace, hs_offset, hs_size, NULL); + H5Sselect_hyperslab (fspace, H5S_SELECT_SET, hs_offset, NULL, hs_size, NULL); H5Dread (d2, H5T_NATIVE_INT, mspace, fspace, H5P_DEFAULT, buf); /* Check */ |