summaryrefslogtreecommitdiffstats
path: root/examples/h5_extlink.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2021-04-05 23:18:08 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2021-04-05 23:18:08 (GMT)
commit72aad5ebdf4665a5e278520d714fc10613660872 (patch)
tree4b271e8796257e1b9f897929eb6df8eb8b975c21 /examples/h5_extlink.c
parent0c6ff43fbccaf78196165db6660a30d37944ea78 (diff)
downloadhdf5-72aad5ebdf4665a5e278520d714fc10613660872.zip
hdf5-72aad5ebdf4665a5e278520d714fc10613660872.tar.gz
hdf5-72aad5ebdf4665a5e278520d714fc10613660872.tar.bz2
Normalized Fortran with develop
Diffstat (limited to 'examples/h5_extlink.c')
-rw-r--r--examples/h5_extlink.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/h5_extlink.c b/examples/h5_extlink.c
index 44ff2da..f9d4046 100644
--- a/examples/h5_extlink.c
+++ b/examples/h5_extlink.c
@@ -414,10 +414,15 @@ UD_hard_create(const char *link_name, hid_t loc_group, const void *udata, size_t
token = *((H5O_token_t *)udata);
+ //! [H5Open_by_token_snip]
+
/* Open the object this link points to so that we can increment
* its reference count. This also ensures that the token passed
* in points to a real object (although this check is not perfect!) */
target_obj = H5Oopen_by_token(loc_group, token);
+
+ //! [H5Open_by_token_snip]
+
if (target_obj < 0) {
ret_value = -1;
goto done;