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/H5Gpublic.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/H5Gpublic.h')
-rw-r--r-- | src/H5Gpublic.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/H5Gpublic.h b/src/H5Gpublic.h index 943aaa5..96ed37f 100644 --- a/src/H5Gpublic.h +++ b/src/H5Gpublic.h @@ -76,23 +76,23 @@ typedef struct H5G_stat_t { typedef herr_t (*H5G_iterate_t)(hid_t group, const char *name, void *op_data); -__DLL__ hid_t H5Gcreate(hid_t loc_id, const char *name, size_t size_hint); -__DLL__ hid_t H5Gopen(hid_t loc_id, const char *name); -__DLL__ herr_t H5Gclose(hid_t group_id); -__DLL__ herr_t H5Giterate(hid_t loc_id, const char *name, int *idx, +H5_DLL hid_t H5Gcreate(hid_t loc_id, const char *name, size_t size_hint); +H5_DLL hid_t H5Gopen(hid_t loc_id, const char *name); +H5_DLL herr_t H5Gclose(hid_t group_id); +H5_DLL herr_t H5Giterate(hid_t loc_id, const char *name, int *idx, H5G_iterate_t op, void *op_data); -__DLL__ herr_t H5Gmove2(hid_t src_loc, const char *src, hid_t dst_loc, +H5_DLL herr_t H5Gmove2(hid_t src_loc, const char *src, hid_t dst_loc, const char *dst); -__DLL__ herr_t H5Glink2(hid_t src_loc, const char *cur_name, H5G_link_t type, +H5_DLL herr_t H5Glink2(hid_t src_loc, const char *cur_name, H5G_link_t type, hid_t dst_loc, const char *new_name); -__DLL__ herr_t H5Gunlink(hid_t loc_id, const char *name); -__DLL__ herr_t H5Gget_objinfo(hid_t loc_id, const char *name, +H5_DLL herr_t H5Gunlink(hid_t loc_id, const char *name); +H5_DLL herr_t H5Gget_objinfo(hid_t loc_id, const char *name, hbool_t follow_link, H5G_stat_t *statbuf/*out*/); -__DLL__ herr_t H5Gget_linkval(hid_t loc_id, const char *name, size_t size, +H5_DLL herr_t H5Gget_linkval(hid_t loc_id, const char *name, size_t size, char *buf/*out*/); -__DLL__ herr_t H5Gset_comment(hid_t loc_id, const char *name, +H5_DLL herr_t H5Gset_comment(hid_t loc_id, const char *name, const char *comment); -__DLL__ int H5Gget_comment(hid_t loc_id, const char *name, size_t bufsize, +H5_DLL int H5Gget_comment(hid_t loc_id, const char *name, size_t bufsize, char *buf); #ifdef __cplusplus |