diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2020-11-21 05:17:36 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-21 05:17:36 (GMT) |
commit | 133c0ad36f5a5864b840a26b6d85b13ad59b6819 (patch) | |
tree | f11ad641a9ea5caf773a2ea574584995fde97c79 /src/H5Iprivate.h | |
parent | 2122a428cdab2abd46e9f742e54a25f6ea6b6b9f (diff) | |
download | hdf5-133c0ad36f5a5864b840a26b6d85b13ad59b6819.zip hdf5-133c0ad36f5a5864b840a26b6d85b13ad59b6819.tar.gz hdf5-133c0ad36f5a5864b840a26b6d85b13ad59b6819.tar.bz2 |
Minor/id code cleanup (#114)
* Revert "Switch ID code to use a hash table instead of a skip list (#52)"
This reverts commit a50d211755cb272b2e468144e7d892a4c90813c4.
* H5I_id_type_t and H5I_class_t are no longer managed via free lists
* Fixed commenting issues
* Naming and commenting cleanup in H5I.c
* H5I cleanup
* Header cleanup
* Commenting
* More uniform naming
* Renames H5I_id_type_t and related in H5I.c
* Adds gcc pragmas to ignore H5I const casting
* Split H5I code into multiple files
* Rename id_type to simply type in H5I code
* Minor typo in H5Itest.c
Diffstat (limited to 'src/H5Iprivate.h')
-rw-r--r-- | src/H5Iprivate.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Iprivate.h b/src/H5Iprivate.h index d4d1721..d8d80f9 100644 --- a/src/H5Iprivate.h +++ b/src/H5Iprivate.h @@ -42,7 +42,7 @@ /****************************/ typedef struct H5I_class_t { - H5I_type_t type_id; /* Class ID for the type */ + H5I_type_t type; /* Class "value" for the type */ unsigned flags; /* Class behavior flags */ unsigned reserved; /* Number of reserved IDs for this type */ /* [A specific number of type entries may be @@ -86,7 +86,7 @@ H5_DLL herr_t H5I_find_id(const void *object, H5I_type_t type, hid_t *id /*o /* Functions that manipulate objects */ H5_DLL void * H5I_object(hid_t id); -H5_DLL void * H5I_object_verify(hid_t id, H5I_type_t id_type); +H5_DLL void * H5I_object_verify(hid_t id, H5I_type_t type); H5_DLL void * H5I_remove(hid_t id); H5_DLL void * H5I_subst(hid_t id, const void *new_object); H5_DLL htri_t H5I_is_file_object(hid_t id); |