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/H5Spublic.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/H5Spublic.h')
-rw-r--r-- | src/H5Spublic.h | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/src/H5Spublic.h b/src/H5Spublic.h index 283096f..2736c42 100644 --- a/src/H5Spublic.h +++ b/src/H5Spublic.h @@ -89,53 +89,53 @@ extern "C" { #endif /* Functions in H5S.c */ -__DLL__ hid_t H5Screate(H5S_class_t type); -__DLL__ hid_t H5Screate_simple(int rank, const hsize_t dims[], +H5_DLL hid_t H5Screate(H5S_class_t type); +H5_DLL hid_t H5Screate_simple(int rank, const hsize_t dims[], const hsize_t maxdims[]); -__DLL__ herr_t H5Sset_extent_simple(hid_t space_id, int rank, +H5_DLL herr_t H5Sset_extent_simple(hid_t space_id, int rank, const hsize_t dims[], const hsize_t max[]); -__DLL__ hid_t H5Scopy(hid_t space_id); -__DLL__ herr_t H5Sclose(hid_t space_id); -__DLL__ hssize_t H5Sget_simple_extent_npoints(hid_t space_id); -__DLL__ int H5Sget_simple_extent_ndims(hid_t space_id); -__DLL__ int H5Sget_simple_extent_dims(hid_t space_id, hsize_t dims[], +H5_DLL hid_t H5Scopy(hid_t space_id); +H5_DLL herr_t H5Sclose(hid_t space_id); +H5_DLL hssize_t H5Sget_simple_extent_npoints(hid_t space_id); +H5_DLL int H5Sget_simple_extent_ndims(hid_t space_id); +H5_DLL int H5Sget_simple_extent_dims(hid_t space_id, hsize_t dims[], hsize_t maxdims[]); -__DLL__ htri_t H5Sis_simple(hid_t space_id); -__DLL__ herr_t H5Sset_space(hid_t space_id, int rank, const hsize_t *dims); -__DLL__ hssize_t H5Sget_select_npoints(hid_t spaceid); -__DLL__ herr_t H5Sselect_hyperslab(hid_t space_id, H5S_seloper_t op, +H5_DLL htri_t H5Sis_simple(hid_t space_id); +H5_DLL herr_t H5Sset_space(hid_t space_id, int rank, const hsize_t *dims); +H5_DLL hssize_t H5Sget_select_npoints(hid_t spaceid); +H5_DLL herr_t H5Sselect_hyperslab(hid_t space_id, H5S_seloper_t op, const hssize_t start[], const hsize_t _stride[], const hsize_t count[], const hsize_t _block[]); #ifdef NEW_HYPERSLAB_API -__DLL__ hid_t H5Scombine_hyperslab(hid_t space_id, H5S_seloper_t op, +H5_DLL hid_t H5Scombine_hyperslab(hid_t space_id, H5S_seloper_t op, const hssize_t start[], const hsize_t _stride[], const hsize_t count[], const hsize_t _block[]); -__DLL__ herr_t H5Sselect_select(hid_t space1_id, H5S_seloper_t op, +H5_DLL herr_t H5Sselect_select(hid_t space1_id, H5S_seloper_t op, hid_t space2_id); -__DLL__ hid_t H5Scombine_select(hid_t space1_id, H5S_seloper_t op, +H5_DLL hid_t H5Scombine_select(hid_t space1_id, H5S_seloper_t op, hid_t space2_id); #endif /* NEW_HYPERSLAB_API */ -__DLL__ herr_t H5Sselect_elements(hid_t space_id, H5S_seloper_t op, +H5_DLL herr_t H5Sselect_elements(hid_t space_id, H5S_seloper_t op, size_t num_elemn, const hssize_t **coord); -__DLL__ H5S_class_t H5Sget_simple_extent_type(hid_t space_id); -__DLL__ herr_t H5Sset_extent_none(hid_t space_id); -__DLL__ herr_t H5Sextent_copy(hid_t dst_id,hid_t src_id); -__DLL__ herr_t H5Sselect_all(hid_t spaceid); -__DLL__ herr_t H5Sselect_none(hid_t spaceid); -__DLL__ herr_t H5Soffset_simple(hid_t space_id, const hssize_t *offset); -__DLL__ htri_t H5Sselect_valid(hid_t spaceid); -__DLL__ hssize_t H5Sget_select_hyper_nblocks(hid_t spaceid); -__DLL__ hssize_t H5Sget_select_elem_npoints(hid_t spaceid); -__DLL__ herr_t H5Sget_select_hyper_blocklist(hid_t spaceid, hsize_t startblock, hsize_t numblocks, hsize_t *buf); -__DLL__ herr_t H5Sget_select_elem_pointlist(hid_t spaceid, hsize_t startpoint, hsize_t numpoints, hsize_t *buf); -__DLL__ herr_t H5Sget_select_bounds(hid_t spaceid, hsize_t *start, hsize_t *end); -__DLL__ H5S_sel_type H5Sget_select_type(hid_t spaceid); +H5_DLL H5S_class_t H5Sget_simple_extent_type(hid_t space_id); +H5_DLL herr_t H5Sset_extent_none(hid_t space_id); +H5_DLL herr_t H5Sextent_copy(hid_t dst_id,hid_t src_id); +H5_DLL herr_t H5Sselect_all(hid_t spaceid); +H5_DLL herr_t H5Sselect_none(hid_t spaceid); +H5_DLL herr_t H5Soffset_simple(hid_t space_id, const hssize_t *offset); +H5_DLL htri_t H5Sselect_valid(hid_t spaceid); +H5_DLL hssize_t H5Sget_select_hyper_nblocks(hid_t spaceid); +H5_DLL hssize_t H5Sget_select_elem_npoints(hid_t spaceid); +H5_DLL herr_t H5Sget_select_hyper_blocklist(hid_t spaceid, hsize_t startblock, hsize_t numblocks, hsize_t *buf); +H5_DLL herr_t H5Sget_select_elem_pointlist(hid_t spaceid, hsize_t startpoint, hsize_t numpoints, hsize_t *buf); +H5_DLL herr_t H5Sget_select_bounds(hid_t spaceid, hsize_t *start, hsize_t *end); +H5_DLL H5S_sel_type H5Sget_select_type(hid_t spaceid); #ifdef __cplusplus } |