diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2018-05-31 21:09:48 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2018-05-31 21:09:48 (GMT) |
commit | b28815c20554f7cd35ec820e1e5ba97624ff8e88 (patch) | |
tree | b20dc8a7aeeda6fc4c61d0cf33dacff47cbc4ebe /examples/h5_attribute.c | |
parent | 0de74a8dadc505f2669cc5341ff486e0d01c53aa (diff) | |
download | hdf5-b28815c20554f7cd35ec820e1e5ba97624ff8e88.zip hdf5-b28815c20554f7cd35ec820e1e5ba97624ff8e88.tar.gz hdf5-b28815c20554f7cd35ec820e1e5ba97624ff8e88.tar.bz2 |
H5O_info fixes for java and examples
Diffstat (limited to 'examples/h5_attribute.c')
-rw-r--r-- | examples/h5_attribute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/h5_attribute.c b/examples/h5_attribute.c index 335f9c2..e3b5759 100644 --- a/examples/h5_attribute.c +++ b/examples/h5_attribute.c @@ -189,7 +189,7 @@ main (void) /* * Find string attribute by iterating through all attributes */ - ret = H5Oget_info(dataset, &oinfo); + ret = H5Oget_info2(dataset, &oinfo, H5O_INFO_ALL); for(i = 0; i < (unsigned)oinfo.num_attrs; i++) { attr = H5Aopen_by_idx(dataset, ".", H5_INDEX_CRT_ORDER, H5_ITER_INC, (hsize_t)i, H5P_DEFAULT, H5P_DEFAULT); atype = H5Aget_type(attr); |