summaryrefslogtreecommitdiffstats
path: root/src/H5Iprivate.h
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2020-11-25 05:58:16 (GMT)
committerGitHub <noreply@github.com>2020-11-25 05:58:16 (GMT)
commitb7bfe68968330c3ac39f4d4179498caec1e0ae24 (patch)
tree83784a6cfd580f3d70f44195b2e0b0b7e150560b /src/H5Iprivate.h
parentea17afe305d40de1ae8682c62978edf42763469b (diff)
downloadhdf5-b7bfe68968330c3ac39f4d4179498caec1e0ae24.zip
hdf5-b7bfe68968330c3ac39f4d4179498caec1e0ae24.tar.gz
hdf5-b7bfe68968330c3ac39f4d4179498caec1e0ae24.tar.bz2
Cherry pick of Minor/id code cleanup (#114) (#124)
* 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.h4
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);