diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2002-04-23 16:01:43 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2002-04-23 16:01:43 (GMT) |
commit | f99a4120573eb8bcededc20a91be8fa520d4ebfa (patch) | |
tree | 87fd804f59a537819fb669fecda5598d6e964fd6 /src/H5G.c | |
parent | ac917c1f07c0af2e8de40a841223f72a85eaa7ee (diff) | |
download | hdf5-f99a4120573eb8bcededc20a91be8fa520d4ebfa.zip hdf5-f99a4120573eb8bcededc20a91be8fa520d4ebfa.tar.gz hdf5-f99a4120573eb8bcededc20a91be8fa520d4ebfa.tar.bz2 |
[svn-r5230] Purpose:
Code cleanup
Description:
Clean up the H5B_iterate code to not have a single hard-wired iterator for
each interface which uses a B-tree, instead accept a function pointer which
determines the callback function. This allows additional iterator
callbacks to be defined without requiring additional H5B functions to be
created.
In that spirit, remove the H5B_prune_by_extent call and convert the
H5F_istore callback routine for it into a callback routine for H5B_iterate.
Platforms tested:
FreeBSD 4.5 (sleipnir)
Diffstat (limited to 'src/H5G.c')
-rw-r--r-- | src/H5G.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -330,7 +330,7 @@ H5Giterate(hid_t loc_id, const char *name, int *idx, /* Iterate over the group members */ if ((ret_value = H5B_iterate (H5G_fileof(udata.group), H5B_SNODE, - udata.group->ent.cache.stab.btree_addr, &udata))<0) { + H5G_node_iterate, udata.group->ent.cache.stab.btree_addr, &udata))<0) { HERROR (H5E_SYM, H5E_CANTINIT, "iteration operator failed"); } |