summaryrefslogtreecommitdiffstats
path: root/java/src/jni/h5util.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2018-05-31 21:09:48 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2018-05-31 21:09:48 (GMT)
commitb28815c20554f7cd35ec820e1e5ba97624ff8e88 (patch)
treeb20dc8a7aeeda6fc4c61d0cf33dacff47cbc4ebe /java/src/jni/h5util.c
parent0de74a8dadc505f2669cc5341ff486e0d01c53aa (diff)
downloadhdf5-b28815c20554f7cd35ec820e1e5ba97624ff8e88.zip
hdf5-b28815c20554f7cd35ec820e1e5ba97624ff8e88.tar.gz
hdf5-b28815c20554f7cd35ec820e1e5ba97624ff8e88.tar.bz2
H5O_info fixes for java and examples
Diffstat (limited to 'java/src/jni/h5util.c')
-rw-r--r--java/src/jni/h5util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/java/src/jni/h5util.c b/java/src/jni/h5util.c
index fdabd76..9a98202 100644
--- a/java/src/jni/h5util.c
+++ b/java/src/jni/h5util.c
@@ -425,7 +425,7 @@ h5str_sprintf
this_str = (char*)HDmalloc(64);
obj = H5Rdereference2(container, H5P_DEFAULT, H5R_OBJECT, ptr);
- H5Oget_info(obj, &oi);
+ H5Oget_info2(obj, &oi, H5O_INFO_ALL);
/* Print object data and close object */
sprintf(this_str, "%u-%lu", (unsigned) oi.type, oi.addr);
@@ -2552,7 +2552,7 @@ obj_info_all
info_all_t *datainfo = (info_all_t*)op_data;
H5O_info_t object_info;
- retVal = H5Oget_info_by_name(loc_id, name, &object_info, H5P_DEFAULT);
+ retVal = H5Oget_info_by_name2(loc_id, name, &object_info, H5O_INFO_ALL, H5P_DEFAULT);
if (retVal < 0) {
*(datainfo->otype+datainfo->count) = -1;
@@ -2591,7 +2591,7 @@ obj_info_max
info_all_t *datainfo = (info_all_t*)op_data;
H5O_info_t object_info;
- retVal = H5Oget_info(loc_id, &object_info);
+ retVal = H5Oget_info2(loc_id, &object_info, H5O_INFO_ALL);
if (retVal < 0) {
*(datainfo->otype+datainfo->count) = -1;
*(datainfo->ltype+datainfo->count) = -1;