summaryrefslogtreecommitdiffstats
path: root/examples/h5_crtgrpar.c
diff options
context:
space:
mode:
authorScot Breitenfeld <brtnfld@hdfgroup.org>2012-12-12 14:56:39 (GMT)
committerScot Breitenfeld <brtnfld@hdfgroup.org>2012-12-12 14:56:39 (GMT)
commit8dc9f39570e4368291f2016961a3658d2945b942 (patch)
tree46cae5ac2675fe39275e4d1b1fb16c8ca10b7af3 /examples/h5_crtgrpar.c
parente92f4b1a7c2c0f4f41dc9a4102584e0dfa3988a3 (diff)
downloadhdf5-8dc9f39570e4368291f2016961a3658d2945b942.zip
hdf5-8dc9f39570e4368291f2016961a3658d2945b942.tar.gz
hdf5-8dc9f39570e4368291f2016961a3658d2945b942.tar.bz2
[svn-r23093] Fixed API to be 1.6 compliant, removed deprecated APIs
Checked: jam (gnu, mpi) --disable-deprecated-symbols, --with-default-api-version=v16
Diffstat (limited to 'examples/h5_crtgrpar.c')
-rw-r--r--examples/h5_crtgrpar.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/h5_crtgrpar.c b/examples/h5_crtgrpar.c
index bc532f8..9e6fc40 100644
--- a/examples/h5_crtgrpar.c
+++ b/examples/h5_crtgrpar.c
@@ -30,13 +30,13 @@ int main() {
file_id = H5Fcreate(FILE, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
/* Create group "MyGroup" in the root group using absolute name. */
- group1_id = H5Gcreate(file_id, "/MyGroup", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
+ group1_id = H5Gcreate2(file_id, "/MyGroup", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
/* Create group "Group_A" in group "MyGroup" using absolute name. */
- group2_id = H5Gcreate(file_id, "/MyGroup/Group_A", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
+ group2_id = H5Gcreate2(file_id, "/MyGroup/Group_A", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
/* Create group "Group_B" in group "MyGroup" using relative name. */
- group3_id = H5Gcreate(group1_id, "Group_B", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
+ group3_id = H5Gcreate2(group1_id, "Group_B", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
/* Close groups. */
status = H5Gclose(group1_id);