diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2003-08-22 13:50:01 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2003-08-22 13:50:01 (GMT) |
commit | 57993b61d374ae5cb9a956d9ee28bb7cdc7064ea (patch) | |
tree | 27d09d7a9e739abd9380a89360fc711f2d4a6eb3 /src/H5Gpublic.h | |
parent | 500b5f904f74c69511a5f0a89c98dd1b2006b758 (diff) | |
download | hdf5-57993b61d374ae5cb9a956d9ee28bb7cdc7064ea.zip hdf5-57993b61d374ae5cb9a956d9ee28bb7cdc7064ea.tar.gz hdf5-57993b61d374ae5cb9a956d9ee28bb7cdc7064ea.tar.bz2 |
[svn-r7391] 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/H5Gpublic.h')
-rw-r--r-- | src/H5Gpublic.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Gpublic.h b/src/H5Gpublic.h index 9526904..2a37fef 100644 --- a/src/H5Gpublic.h +++ b/src/H5Gpublic.h @@ -94,8 +94,8 @@ H5_DLL herr_t H5Gclose(hid_t group_id); H5_DLL herr_t H5Giterate(hid_t loc_id, const char *name, int *idx, H5G_iterate_t op, void *op_data); H5_DLL herr_t H5Gget_num_objs(hid_t loc_id, hsize_t *num_objs); -H5_DLL ssize_t H5Gget_objname_by_idx(hid_t group_id, hsize_t idx, char* name, size_t size); -H5_DLL H5G_obj_t H5Gget_objtype_by_idx(hid_t group_id, hsize_t idx); +H5_DLL ssize_t H5Gget_objname_by_idx(hid_t loc_id, hsize_t idx, char* name, size_t size); +H5_DLL H5G_obj_t H5Gget_objtype_by_idx(hid_t loc_id, hsize_t idx); H5_DLL herr_t H5Gmove2(hid_t src_loc, const char *src, hid_t dst_loc, const char *dst); H5_DLL herr_t H5Glink2(hid_t src_loc, const char *cur_name, H5G_link_t type, |