summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1998-07-14 21:14:22 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1998-07-14 21:14:22 (GMT)
commit13834c0d94857dcd6deb7abd3d0b8b1eba8c26d5 (patch)
tree0ec72f7f283cfa91e13d38876975b31672f7d481 /tools
parentbf5165c748def41aec8b1904d450b319617f5e57 (diff)
downloadhdf5-13834c0d94857dcd6deb7abd3d0b8b1eba8c26d5.zip
hdf5-13834c0d94857dcd6deb7abd3d0b8b1eba8c26d5.tar.gz
hdf5-13834c0d94857dcd6deb7abd3d0b8b1eba8c26d5.tar.bz2
[svn-r490] Changed more API functions to the new names as documented.
Diffstat (limited to 'tools')
-rw-r--r--tools/h5ls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5ls.c b/tools/h5ls.c
index 4b0ea75..3e8a378 100644
--- a/tools/h5ls.c
+++ b/tools/h5ls.c
@@ -55,7 +55,7 @@ list_attr (hid_t obj, const char *attr_name, void __unused__ *op_data)
if ((attr = H5Aopen_name (obj, attr_name))) {
hid_t space = H5Aget_space (attr);
hsize_t size[64];
- int ndims = H5Sget_dims (space, size, NULL);
+ int ndims = H5Sextent_dims (space, size, NULL);
H5Sclose (space);
printf (" {");
for (i=0; i<ndims; i++) {
@@ -114,7 +114,7 @@ list (hid_t group, const char *name, void __unused__ *op_data)
hsize_t size[64];
hsize_t maxsize[64];
hid_t space = H5Dget_space (obj);
- int ndims = H5Sget_dims(space, size, maxsize);
+ int ndims = H5Sextent_dims(space, size, maxsize);
printf ("Dataset {");
for (i=0; i<ndims; i++) {
HDfprintf (stdout, "%s%Hu", i?", ":"", size[i]);