mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-17 16:10:24 +08:00
[svn-r26343] Improved output.
This commit is contained in:
parent
a726992cd8
commit
56f7406671
@ -190,10 +190,10 @@ main (void)
|
||||
/* We also can use new APIs to get start, stride, count and block */
|
||||
if (H5Sis_regular_hyperslab(vspace)) {
|
||||
status = H5Sget_regular_hyperslab (vspace, start_out, stride_out, count_out, block_out);
|
||||
printf("start = [%d, %d] \n", (int)start_out[0], (int)start_out[1]);
|
||||
printf("stride = [%d, %d] \n", (int)stride_out[0], (int)stride_out[1]);
|
||||
printf("count = [%d, %d] \n", (int)count_out[0], (int)count_out[1]);
|
||||
printf("block = [%d, %d] \n", (int)block_out[0], (int)block_out[1]);
|
||||
printf(" start = [%d, %d] \n", (int)start_out[0], (int)start_out[1]);
|
||||
printf(" stride = [%d, %d] \n", (int)stride_out[0], (int)stride_out[1]);
|
||||
printf(" count = [%d, %d] \n", (int)count_out[0], (int)count_out[1]);
|
||||
printf(" block = [%d, %d] \n", (int)block_out[0], (int)block_out[1]);
|
||||
}
|
||||
}
|
||||
/* Get source file name. */
|
||||
|
Loading…
Reference in New Issue
Block a user