diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2003-06-20 15:19:18 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2003-06-20 15:19:18 (GMT) |
commit | 970416829fb40ee7f1c33fe1289e9b7b88ad84a9 (patch) | |
tree | c344e5f62bb295d7e6385ef6918f9761c751b5b0 /src/H5Iprivate.h | |
parent | e34f6e8c9ef53157422f871b4f674946d02370d3 (diff) | |
download | hdf5-970416829fb40ee7f1c33fe1289e9b7b88ad84a9.zip hdf5-970416829fb40ee7f1c33fe1289e9b7b88ad84a9.tar.gz hdf5-970416829fb40ee7f1c33fe1289e9b7b88ad84a9.tar.bz2 |
[svn-r7071] Purpose:
Code cleanup
Description:
Tweak internal iterator over IDs to not require constant "operator" data.
Platforms tested:
FreeBSD 4.8 (sleipnir)
h5committest
Diffstat (limited to 'src/H5Iprivate.h')
-rw-r--r-- | src/H5Iprivate.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/H5Iprivate.h b/src/H5Iprivate.h index 8ef4bf6..766d7df 100644 --- a/src/H5Iprivate.h +++ b/src/H5Iprivate.h @@ -53,7 +53,7 @@ typedef herr_t (*H5I_free_t)(void*); /* Type of the function to compare objects & keys */ -typedef int (*H5I_search_func_t)(void *obj, hid_t id, const void *key); +typedef int (*H5I_search_func_t)(void *obj, hid_t id, void *key); /* Private Functions in H5I.c */ H5_DLL int H5I_init_group(H5I_type_t grp, size_t hash_size, unsigned reserved, @@ -66,8 +66,7 @@ H5_DLL void *H5I_object(hid_t id); H5_DLL void *H5I_object_verify(hid_t id, H5I_type_t id_type); H5_DLL H5I_type_t H5I_get_type(hid_t id); H5_DLL void *H5I_remove(hid_t id); -H5_DLL void *H5I_search(H5I_type_t grp, H5I_search_func_t func, - const void *key); +H5_DLL void *H5I_search(H5I_type_t grp, H5I_search_func_t func, void *key); H5_DLL int H5I_inc_ref(hid_t id); H5_DLL int H5I_dec_ref(hid_t id); #endif |