summaryrefslogtreecommitdiffstats
path: root/java/examples/groups/H5Ex_G_Iterate.java
diff options
context:
space:
mode:
authorkmu <kmu@hdfgroup.org>2020-01-21 02:47:48 (GMT)
committerkmu <kmu@hdfgroup.org>2020-01-21 02:47:48 (GMT)
commita95b5b1e056e171702ad41b69cb796da0cbb91eb (patch)
treeefeac251757e78e1fcef89356e7c56f240279d45 /java/examples/groups/H5Ex_G_Iterate.java
parent7e93acd94f20c73d27bb2eb4f7b4389d88cfb299 (diff)
parenta63f22e27cad74c9bb98ca2b4d2a5fd118ef3571 (diff)
downloadhdf5-a95b5b1e056e171702ad41b69cb796da0cbb91eb.zip
hdf5-a95b5b1e056e171702ad41b69cb796da0cbb91eb.tar.gz
hdf5-a95b5b1e056e171702ad41b69cb796da0cbb91eb.tar.bz2
Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into develop
Diffstat (limited to 'java/examples/groups/H5Ex_G_Iterate.java')
-rw-r--r--java/examples/groups/H5Ex_G_Iterate.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/java/examples/groups/H5Ex_G_Iterate.java b/java/examples/groups/H5Ex_G_Iterate.java
index 3c9ca82..5acbf65 100644
--- a/java/examples/groups/H5Ex_G_Iterate.java
+++ b/java/examples/groups/H5Ex_G_Iterate.java
@@ -19,6 +19,7 @@ package examples.groups;
import hdf.hdf5lib.H5;
import hdf.hdf5lib.HDF5Constants;
+import hdf.hdf5lib.structs.H5O_token_t;
import java.util.EnumSet;
import java.util.HashMap;
@@ -75,8 +76,8 @@ public class H5Ex_G_Iterate {
String[] oname = new String[count];
int[] otype = new int[count];
int[] ltype = new int[count];
- long[] orefs = new long[count];
- H5.H5Gget_obj_info_all(file_id, DATASETNAME, oname, otype, ltype, orefs, HDF5Constants.H5_INDEX_NAME);
+ H5O_token_t[] otokens = new H5O_token_t[count];
+ H5.H5Gget_obj_info_all(file_id, DATASETNAME, oname, otype, ltype, otokens, HDF5Constants.H5_INDEX_NAME);
// Get type of the object and display its name and type.
for (int indx = 0; indx < otype.length; indx++) {