summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorElena Pourmal <epourmal@hdfgroup.org>1998-07-14 22:01:10 (GMT)
committerElena Pourmal <epourmal@hdfgroup.org>1998-07-14 22:01:10 (GMT)
commit3872a1dd4ebd92ba8647bdf417f975451279808c (patch)
tree18b7c104c22934db00f5904f9696d1dc517c9f2d /examples
parent13834c0d94857dcd6deb7abd3d0b8b1eba8c26d5 (diff)
downloadhdf5-3872a1dd4ebd92ba8647bdf417f975451279808c.zip
hdf5-3872a1dd4ebd92ba8647bdf417f975451279808c.tar.gz
hdf5-3872a1dd4ebd92ba8647bdf417f975451279808c.tar.bz2
[svn-r491] Program was fixed to use new functions H5Sextent_ndims and H5Sextent_dims.
Tested on Solaris 2.5
Diffstat (limited to 'examples')
-rw-r--r--examples/h5_chunk_read.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/h5_chunk_read.c b/examples/h5_chunk_read.c
index 40dfeed..681febc 100644
--- a/examples/h5_chunk_read.c
+++ b/examples/h5_chunk_read.c
@@ -48,8 +48,8 @@ dataset = H5Dopen(file, DATASETNAME);
*/
filespace = H5Dget_space(dataset); /* Get filespace handle first. */
-rank = H5Sget_ndims(filespace);
-status_n = H5Sget_dims(filespace, dims, NULL);
+rank = H5Sextent_ndims(filespace);
+status_n = H5Sextent_dims(filespace, dims, NULL);
printf("dataset rank %d, dimensions %d x %d \n", rank, dims[0], dims[1]);
/*