summaryrefslogtreecommitdiffstats
path: root/java/examples/groups/H5Ex_G_Iterate.java
diff options
context:
space:
mode:
authorkmu <kmu@hdfgroup.org>2020-01-24 18:05:09 (GMT)
committerkmu <kmu@hdfgroup.org>2020-01-24 18:05:09 (GMT)
commitfb6328b6315d62aed57a98058c711ef086aa0db1 (patch)
treebb85224bcdcb2826bfe98b7b80b756613b65788a /java/examples/groups/H5Ex_G_Iterate.java
parente938f4407eeea3f55dc5df291a2a83854f54404a (diff)
parent590aaff33046df99a4d88ba59e4b461e060b36e4 (diff)
downloadhdf5-fb6328b6315d62aed57a98058c711ef086aa0db1.zip
hdf5-fb6328b6315d62aed57a98058c711ef086aa0db1.tar.gz
hdf5-fb6328b6315d62aed57a98058c711ef086aa0db1.tar.bz2
Merge branch 'develop' of https://git.hdfgroup.org/scm/~kmu/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++) {