Skip to content

Commit

Permalink
Add clarification for current behavior of H5Get_objtype_by_idx() (#4120)
Browse files Browse the repository at this point in the history
  • Loading branch information
glennsong09 authored Mar 22, 2024
1 parent 093cca7 commit 02b5204
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/H5Gpublic.h
Original file line number Diff line number Diff line change
Expand Up @@ -1198,6 +1198,12 @@ H5_DLL ssize_t H5Gget_objname_by_idx(hid_t loc_id, hsize_t idx, char *name, size
* the group. This parameter is described in more detail in the
* discussion of H5Gget_objname_by_idx().
*
* \note As of 1.12.0, H5Gget_objtype_by_idx() returns the type of the object
* that the link points to, but it has been deprecated for H5Oget_info().
* Previous behavior for this function returned H5G_LINK for any link type.
* To get the link type, an application may use H5Lget_info_by_idx()
* instead.
*
* \version 1.8.0 Function deprecated in this release.
* \version 1.6.0 The function return type changed from \c int to the enumerated
* type \ref H5G_obj_t.
Expand Down

0 comments on commit 02b5204

Please sign in to comment.