diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2003-08-22 13:54:08 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2003-08-22 13:54:08 (GMT) |
commit | 42b1d300a5ae1339c2efaa70faedd32b51c89e10 (patch) | |
tree | 15e1f404019f984ab9adb8a69e3d13001b5cb1a0 /src/H5Gpkg.h | |
parent | bbb546d4de40a2c821be9cf5d699ab9ed7c9d0e2 (diff) | |
download | hdf5-42b1d300a5ae1339c2efaa70faedd32b51c89e10.zip hdf5-42b1d300a5ae1339c2efaa70faedd32b51c89e10.tar.gz hdf5-42b1d300a5ae1339c2efaa70faedd32b51c89e10.tar.bz2 |
[svn-r7392] Purpose:
Bug fix
Description:
H5Gget_num_objs, H5Gget_objname_by_idx and H5Gget_objtype_by_idx were
only accepting a group ID, instead of a location ID, as our documentation for
them stated.
Solution:
Allow them to accept a location ID.
Platforms tested:
FreeBSD 4.8 (sleipnir)
h5committest
Diffstat (limited to 'src/H5Gpkg.h')
-rw-r--r-- | src/H5Gpkg.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/H5Gpkg.h b/src/H5Gpkg.h index 9443a54..27fceff 100644 --- a/src/H5Gpkg.h +++ b/src/H5Gpkg.h @@ -89,13 +89,13 @@ typedef struct H5G_bt_ud1_t { typedef struct H5G_bt_ud2_t { /* downward */ hid_t group_id; /*group id to pass to iteration operator */ - struct H5G_t *group; /*the group to which group_id points */ + H5G_entry_t *ent; /*the entry to which group_id points */ int skip; /*initial entries to skip */ H5G_iterate_t op; /*iteration operator */ void *op_data; /*user-defined operator data */ /* upward */ - int final_ent; /*final entry looked at */ + int final_ent; /*final entry looked at */ } H5G_bt_ud2_t; @@ -104,10 +104,13 @@ typedef struct H5G_bt_ud2_t { * H5B_iterate function. */ typedef struct H5G_bt_ud3_t { - struct H5G_t *group; /*the group to which group_id points */ + /* downward */ + H5G_entry_t *ent; /*the entry of group being queried */ hsize_t idx; /*index of group member to be querried */ - char *name; /*member name to be returned */ hsize_t num_objs; /*the number of objects having been traversed*/ + + /* upward */ + char *name; /*member name to be returned */ int type; /*member type to be returned */ } H5G_bt_ud3_t; |