[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.
This commit is contained in:
Elena Pourmal
1998-07-14 16:09:23 -05:00
parent bb4d5ebbb5
commit 9123e63487

View File

@@ -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]);
/*