diff options
author | MuQun Yang <ymuqun@hdfgroup.org> | 2002-09-20 20:36:09 (GMT) |
---|---|---|
committer | MuQun Yang <ymuqun@hdfgroup.org> | 2002-09-20 20:36:09 (GMT) |
commit | e5b28ef37b6cb97211e37f0900a97b14c97daf57 (patch) | |
tree | 123dce5773a6041fd75d9572a553a044219b01a3 /src/H5Iprivate.h | |
parent | 2aca3b77d63aa78d16262e23d929f2c13570a2d5 (diff) | |
download | hdf5-e5b28ef37b6cb97211e37f0900a97b14c97daf57.zip hdf5-e5b28ef37b6cb97211e37f0900a97b14c97daf57.tar.gz hdf5-e5b28ef37b6cb97211e37f0900a97b14c97daf57.tar.bz2 |
[svn-r5931]
Purpose:
__DLL__ is a keyword in some platforms and __DLL__ is also defined as a macro for windows DLL applications.
That causes problems.
Description:
Solution:
Use H5_DLL*** to replace __DLL***__ at all header files.
Change the macro defination at H5api_adpt.h.
Platforms tested:
linux2.2.18smp, irix64, solaris 2.7 and windows 2000
Diffstat (limited to 'src/H5Iprivate.h')
-rw-r--r-- | src/H5Iprivate.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/H5Iprivate.h b/src/H5Iprivate.h index 0589cc6..e13ab32 100644 --- a/src/H5Iprivate.h +++ b/src/H5Iprivate.h @@ -123,18 +123,18 @@ typedef struct { } H5I_id_group_t; /* Private Functions in H5I.c */ -__DLL__ int H5I_init_group(H5I_type_t grp, size_t hash_size, unsigned reserved, +H5_DLL int H5I_init_group(H5I_type_t grp, size_t hash_size, unsigned reserved, H5I_free_t func); -__DLL__ int H5I_nmembers(H5I_type_t grp); -__DLL__ herr_t H5I_clear_group(H5I_type_t grp, hbool_t force); -__DLL__ herr_t H5I_destroy_group(H5I_type_t grp); -__DLL__ hid_t H5I_register(H5I_type_t grp, void *object); -__DLL__ void *H5I_object(hid_t id); -__DLL__ void *H5I_object_verify(hid_t id, H5I_type_t id_type); -__DLL__ H5I_type_t H5I_get_type(hid_t id); -__DLL__ void *H5I_remove(hid_t id); -__DLL__ void *H5I_search(H5I_type_t grp, H5I_search_func_t func, +H5_DLL int H5I_nmembers(H5I_type_t grp); +H5_DLL herr_t H5I_clear_group(H5I_type_t grp, hbool_t force); +H5_DLL herr_t H5I_destroy_group(H5I_type_t grp); +H5_DLL hid_t H5I_register(H5I_type_t grp, void *object); +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); -__DLL__ int H5I_inc_ref(hid_t id); -__DLL__ int H5I_dec_ref(hid_t id); +H5_DLL int H5I_inc_ref(hid_t id); +H5_DLL int H5I_dec_ref(hid_t id); #endif |