diff options
| author | kmu <kmu@hdfgroup.org> | 2020-01-17 18:51:45 (GMT) |
|---|---|---|
| committer | kmu <kmu@hdfgroup.org> | 2020-01-17 18:51:45 (GMT) |
| commit | 385ac203806b1027b6bf83e904c4178d0eaff987 (patch) | |
| tree | 74da25151de6d1e32329dfcd62e17c863e2e3de1 /java/examples/groups/H5Ex_G_Iterate.java | |
| parent | 6e62be345650c38d30f14e9208fcca01dde0aef1 (diff) | |
| parent | 55670c88cfa07a4fd5a884502f8bd32768f70256 (diff) | |
| download | hdf5-385ac203806b1027b6bf83e904c4178d0eaff987.zip hdf5-385ac203806b1027b6bf83e904c4178d0eaff987.tar.gz hdf5-385ac203806b1027b6bf83e904c4178d0eaff987.tar.bz2 | |
Merge branch 'develop' of https://git.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.java | 5 |
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++) { |
