diff options
author | Frank Baker <fbaker@hdfgroup.org> | 2001-03-02 21:15:53 (GMT) |
---|---|---|
committer | Frank Baker <fbaker@hdfgroup.org> | 2001-03-02 21:15:53 (GMT) |
commit | ea82f9e04da223b79ff3ddab847b8b62bb2094c2 (patch) | |
tree | ba033033cfc4a388c4999ac6795a375849fb6767 /doc/html | |
parent | 517662fdcef0acecd5fbd7a41d95a3b2c5f25d44 (diff) | |
download | hdf5-ea82f9e04da223b79ff3ddab847b8b62bb2094c2.zip hdf5-ea82f9e04da223b79ff3ddab847b8b62bb2094c2.tar.gz hdf5-ea82f9e04da223b79ff3ddab847b8b62bb2094c2.tar.bz2 |
[svn-r3541]
Purpose:
Bug fix
Description:
Corrected "Raw Data I/O" code example #2.
H5Sset_hyperslab --> H5Sselect_hyperslab
Platforms tested:
IE 5
Diffstat (limited to 'doc/html')
-rw-r--r-- | doc/html/Datasets.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/html/Datasets.html b/doc/html/Datasets.html index 20f2cd6..da6ae5b 100644 --- a/doc/html/Datasets.html +++ b/doc/html/Datasets.html @@ -797,7 +797,7 @@ H5Pset_external (plist, "scan3.data", 0, 16); 17 size[0] = 100; /*size of hyperslab*/ 18 size[1] = 200; 19 file_space = H5Dget_space (dataset); -20 H5Sset_hyperslab (file_space, 2, offset, size); +20 H5Sselect_hyperslab (file_space, H5S_SELECT_SET, offset, NULL, size, NULL); 21 22 /* 23 * Describe the memory data space. @@ -810,7 +810,7 @@ H5Pset_external (plist, "scan3.data", 0, 16); 30 offset[1] = 0; 31 size[0] = 100; /*size of hyperslab*/ 32 size[1] = 200; -33 H5Sset_hyperslab (mem_space, 2, offset, size); +33 H5Sselect_hyperslab (mem_space, H5S_SELECT_SET, offset, NULL, size, NULL); 34 35 /* 36 * Read the dataset. @@ -928,7 +928,7 @@ H5Pset_external (plist, "scan3.data", 0, 16); <!-- Created: Tue Dec 2 09:17:09 EST 1997 --> <!-- hhmts start --> -Last modified: 7 April 2000 +Last modified: 2 March 2001 <!-- hhmts end --> <br> |