summaryrefslogtreecommitdiffstats
path: root/test/tfile.c
diff options
context:
space:
mode:
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");