summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@lbl.gov>2021-01-07 22:16:00 (GMT)
committerGitHub <noreply@github.com>2021-01-07 22:16:00 (GMT)
commite3b7d68826b5ce54518220d80dfb723f04c7b486 (patch)
tree043401e2221af79b80dcf11c3991674217f1a7ac /examples
parent3ae45182b5f728fbe0fc25cf1fd8db5b1e014d4a (diff)
downloadhdf5-e3b7d68826b5ce54518220d80dfb723f04c7b486.zip
hdf5-e3b7d68826b5ce54518220d80dfb723f04c7b486.tar.gz
hdf5-e3b7d68826b5ce54518220d80dfb723f04c7b486.tar.bz2
Reformat source (#244)
Diffstat (limited to 'examples')
-rw-r--r--examples/h5_attribute.c4
-rw-r--r--examples/h5_extlink.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/h5_attribute.c b/examples/h5_attribute.c
index e127e40..9de573e 100644
--- a/examples/h5_attribute.c
+++ b/examples/h5_attribute.c
@@ -184,7 +184,7 @@ main(void)
printf("The value of the attribute \"Integer attribute\" is %d \n", point_out);
ret = H5Aclose(attr);
-//! [H5Oget_info3_snip]
+ //! [H5Oget_info3_snip]
/*
* Find string attribute by iterating through all attributes
@@ -205,7 +205,7 @@ main(void)
ret = H5Tclose(atype);
}
-//! [H5Oget_info3_snip]
+ //! [H5Oget_info3_snip]
/*
* Get attribute info using iteration function.
*/
diff --git a/examples/h5_extlink.c b/examples/h5_extlink.c
index bdd8b2f..ebc542c 100644
--- a/examples/h5_extlink.c
+++ b/examples/h5_extlink.c
@@ -414,14 +414,14 @@ 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]
+ //! [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]
+ //! [H5Open_by_token_snip]
if (target_obj < 0) {
ret_value = -1;