Skip to content

Commit

Permalink
Fix doxygen link to example function usage (HDFGroup#4133)
Browse files Browse the repository at this point in the history
  • Loading branch information
byrnHDF authored and brtnfld committed Mar 18, 2024
1 parent 1910228 commit 52dfad5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/links.c
Original file line number Diff line number Diff line change
Expand Up @@ -633,8 +633,6 @@ cklinks(hid_t fapl, bool new_format)
if ((file = H5Fopen(filename, H5F_ACC_RDONLY, fapl)) < 0)
FAIL_STACK_ERROR;

//! [H5Otoken_cmp_snip]

/* Hard link */
if (H5Oget_info_by_name3(file, "d1", &oinfo1, H5O_INFO_BASIC, H5P_DEFAULT) < 0)
FAIL_STACK_ERROR;
Expand All @@ -656,6 +654,9 @@ cklinks(hid_t fapl, bool new_format)
puts(" expected file location.");
TEST_ERROR;
} /* end if */

//! [H5Otoken_cmp_snip]

if (H5Lexists(file, "/", H5P_DEFAULT) != true)
FAIL_STACK_ERROR;
if (H5Lexists(file, "d1", H5P_DEFAULT) != true)
Expand Down

0 comments on commit 52dfad5

Please sign in to comment.