summaryrefslogtreecommitdiffstats
path: root/examples/h5_attribute.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/h5_attribute.c')
-rw-r--r--examples/h5_attribute.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/h5_attribute.c b/examples/h5_attribute.c
index 4dbe71e..68653d4 100644
--- a/examples/h5_attribute.c
+++ b/examples/h5_attribute.c
@@ -184,6 +184,8 @@ main(void)
printf("The value of the attribute \"Integer attribute\" is %d \n", point_out);
ret = H5Aclose(attr);
+ //! [H5Oget_info2_snip]
+
/*
* Find string attribute by iterating through all attributes
*/
@@ -203,6 +205,7 @@ main(void)
ret = H5Tclose(atype);
}
+ //! [H5Oget_info2_snip]
/*
* Get attribute info using iteration function.
*/