summaryrefslogtreecommitdiffstats
path: root/examples/h5_vds-exc.c
diff options
context:
space:
mode:
authorElena Pourmal <epourmal@hdfgroup.org>2015-06-19 13:07:30 (GMT)
committerElena Pourmal <epourmal@hdfgroup.org>2015-06-19 13:07:30 (GMT)
commit3b1acf484e582941fa95173f6feca275800778ac (patch)
treed2fe1b53a0fc717727a9c809746551a26c43fbe2 /examples/h5_vds-exc.c
parent1e7ab81ff25ae5f6197ae83a58bc2a330fc8ffa9 (diff)
downloadhdf5-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-exc.c')
-rw-r--r--examples/h5_vds-exc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/h5_vds-exc.c b/examples/h5_vds-exc.c
index 4a30d91..88d8f61 100644
--- a/examples/h5_vds-exc.c
+++ b/examples/h5_vds-exc.c
@@ -121,7 +121,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 (nsrc_space);
@@ -138,7 +138,7 @@ main (void)
* Open file and dataset using the default properties.
*/
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.