summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorElena Pourmal <epourmal@hdfgroup.org>1998-07-14 21:09:23 (GMT)
committerElena Pourmal <epourmal@hdfgroup.org>1998-07-14 21:09:23 (GMT)
commit9123e634872e94f7905ae35e1d3e80d01884db4e (patch)
treed1f028d83783e11f6f5bb604d66cec5b7356742a /examples
parentbb4d5ebbb5c692cc9dcb697dec4014dc3d88d170 (diff)
downloadhdf5-9123e634872e94f7905ae35e1d3e80d01884db4e.zip
hdf5-9123e634872e94f7905ae35e1d3e80d01884db4e.tar.gz
hdf5-9123e634872e94f7905ae35e1d3e80d01884db4e.tar.bz2
[svn-r487] Quincey is going to rename H5Sget_dims and H5Sget_ndims functions to
H5Sextent_dims and H5Sextent_ndims respectively. Example uses new function names. Will be tested later.
Diffstat (limited to 'examples')
-rw-r--r--examples/h5_read.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/h5_read.c b/examples/h5_read.c
index ba41717..51bf381 100644
--- a/examples/h5_read.c
+++ b/examples/h5_read.c
@@ -66,8 +66,8 @@ size = H5Tget_size(datatype);
printf(" Data size is %d \n", size);
dataspace = H5Dget_space(dataset); /* dataspace handle */
-rank = H5Sget_ndims(dataspace);
-status_n = H5Sget_dims(dataspace, dims_out, NULL);
+rank = H5Sextent_ndims(dataspace);
+status_n = H5Sextent_dims(dataspace, dims_out, NULL);
printf("rank %d, dimensions %d x %d \n", rank, dims_out[0], dims_out[1]);
/*