[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:
@@ -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]);
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user