diff options
author | Elena Pourmal <epourmal@hdfgroup.org> | 2015-06-19 13:07:30 (GMT) |
---|---|---|
committer | Elena Pourmal <epourmal@hdfgroup.org> | 2015-06-19 13:07:30 (GMT) |
commit | 3b1acf484e582941fa95173f6feca275800778ac (patch) | |
tree | d2fe1b53a0fc717727a9c809746551a26c43fbe2 /examples/h5_vds.c | |
parent | 1e7ab81ff25ae5f6197ae83a58bc2a330fc8ffa9 (diff) | |
download | hdf5-3b1acf484e582941fa95173f6feca275800778ac.zip hdf5-3b1acf484e582941fa95173f6feca275800778ac.tar.gz hdf5-3b1acf484e582941fa95173f6feca275800778ac.tar.bz2 |
[svn-r27249] Used versioned APIs to fix the daily tests errors with the --with-default-api-version=v16 builds.
Tested on jam.
Diffstat (limited to 'examples/h5_vds.c')
-rw-r--r-- | examples/h5_vds.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/h5_vds.c b/examples/h5_vds.c index a4909dc..1e502c6 100644 --- a/examples/h5_vds.c +++ b/examples/h5_vds.c @@ -101,7 +101,7 @@ main (void) file = H5Fcreate (SRC_FILE[i], H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT); space = H5Screate_simple (RANK1, dims, NULL); - dset = H5Dcreate (file, SRC_DATASET[i], H5T_NATIVE_INT, space, H5P_DEFAULT, + dset = H5Dcreate2 (file, SRC_DATASET[i], H5T_NATIVE_INT, space, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT); status = H5Dwrite (dset, H5T_NATIVE_INT, H5S_ALL, H5S_ALL, H5P_DEFAULT, wdata); @@ -143,7 +143,7 @@ main (void) } /* Create a virtual dataset. */ - dset = H5Dcreate (file, DATASET, H5T_NATIVE_INT, space, H5P_DEFAULT, + dset = H5Dcreate2 (file, DATASET, H5T_NATIVE_INT, space, H5P_DEFAULT, dcpl, H5P_DEFAULT); status = H5Sclose (space); status = H5Sclose (src_space); @@ -158,7 +158,7 @@ main (void) * Open the file and virtual dataset. */ file = H5Fopen (FILE, H5F_ACC_RDONLY, H5P_DEFAULT); - dset = H5Dopen (file, DATASET, H5P_DEFAULT); + dset = H5Dopen2 (file, DATASET, H5P_DEFAULT); /* * Get creation property list and mapping properties. |