summaryrefslogtreecommitdiffstats
path: root/test/tfile.c
diff options
context:
space:
mode:
authorvchoi-hdfgroup <55293060+vchoi-hdfgroup@users.noreply.github.com>2020-12-16 03:18:54 (GMT)
committerGitHub <noreply@github.com>2020-12-16 03:18:54 (GMT)
commit865b10b7a707005f08b13e92dec90e402de1f21d (patch)
tree4e368d7b13668ed0871ea99e2e052b9ffec539bd /test/tfile.c
parentf09ec2657cb0ab9b646f8a4a1d5302444c38bf72 (diff)
downloadhdf5-865b10b7a707005f08b13e92dec90e402de1f21d.zip
hdf5-865b10b7a707005f08b13e92dec90e402de1f21d.tar.gz
hdf5-865b10b7a707005f08b13e92dec90e402de1f21d.tar.bz2
Transfer doxygen H5O RM blocks from doxygen branch to develop. (#174)
Co-authored-by: vchoi <vchoi@jelly.ad.hdfgroup.org>
Diffstat (limited to 'test/tfile.c')
-rw-r--r--test/tfile.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/tfile.c b/test/tfile.c
index 1b334f2..9a94a7d 100644
--- a/test/tfile.c
+++ b/test/tfile.c
@@ -5182,7 +5182,12 @@ test_libver_bounds_real(H5F_libver_t libver_create, unsigned oh_vers_create, H5F
group = H5Gcreate2(file, "/G1", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
CHECK(group, FAIL, "H5Gcreate");
+//! [H5Oget_native_info_snip]
+
ret = H5Oget_native_info(group, &ninfo, H5O_NATIVE_INFO_HDR);
+
+//! [H5Oget_native_info_snip]
+
CHECK(ret, FAIL, "H5Oget_native)info");
VERIFY(ninfo.hdr.version, oh_vers_mod, "H5Oget_native_info");
@@ -5203,10 +5208,15 @@ test_libver_bounds_real(H5F_libver_t libver_create, unsigned oh_vers_create, H5F
ret = H5Gclose(group);
CHECK(ret, FAIL, "H5Gclose");
+//! [H5Oget_native_info_by_name_snip]
+
/*
* Make sure the root group still has the correct object header version
*/
ret = H5Oget_native_info_by_name(file, "/", &ninfo, H5O_NATIVE_INFO_HDR, H5P_DEFAULT);
+
+//! [H5Oget_native_info_by_name_snip]
+
CHECK(ret, FAIL, "H5Oget_native_info_by_name");
VERIFY(ninfo.hdr.version, oh_vers_create, "H5Oget_native_info_by_name");