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/H5FDprivate.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/H5FDprivate.h')
-rw-r--r-- | src/H5FDprivate.h | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/src/H5FDprivate.h b/src/H5FDprivate.h index 19dd6b1..6e57189 100644 --- a/src/H5FDprivate.h +++ b/src/H5FDprivate.h @@ -12,33 +12,33 @@ #define H5FD_has_cmp(id) (NULL!=H5FD_get_class(id)->cmp) -__DLL__ int H5FD_term_interface(void); -__DLL__ H5FD_class_t *H5FD_get_class(hid_t id); -__DLL__ hsize_t H5FD_sb_size(H5FD_t *file); -__DLL__ herr_t H5FD_sb_encode(H5FD_t *file, char *name/*out*/, uint8_t *buf); -__DLL__ herr_t H5FD_sb_decode(H5FD_t *file, const char *name, const uint8_t *buf); -__DLL__ void *H5FD_fapl_get(H5FD_t *file); -__DLL__ void *H5FD_fapl_copy(hid_t driver_id, const void *fapl); -__DLL__ herr_t H5FD_fapl_free(hid_t driver_id, void *fapl); -__DLL__ void *H5FD_dxpl_copy(hid_t driver_id, const void *dxpl); -__DLL__ herr_t H5FD_dxpl_free(hid_t driver_id, void *dxpl); -__DLL__ H5FD_t *H5FD_open(const char *name, unsigned flags, hid_t fapl_id, +H5_DLL int H5FD_term_interface(void); +H5_DLL H5FD_class_t *H5FD_get_class(hid_t id); +H5_DLL hsize_t H5FD_sb_size(H5FD_t *file); +H5_DLL herr_t H5FD_sb_encode(H5FD_t *file, char *name/*out*/, uint8_t *buf); +H5_DLL herr_t H5FD_sb_decode(H5FD_t *file, const char *name, const uint8_t *buf); +H5_DLL void *H5FD_fapl_get(H5FD_t *file); +H5_DLL void *H5FD_fapl_copy(hid_t driver_id, const void *fapl); +H5_DLL herr_t H5FD_fapl_free(hid_t driver_id, void *fapl); +H5_DLL void *H5FD_dxpl_copy(hid_t driver_id, const void *dxpl); +H5_DLL herr_t H5FD_dxpl_free(hid_t driver_id, void *dxpl); +H5_DLL H5FD_t *H5FD_open(const char *name, unsigned flags, hid_t fapl_id, haddr_t maxaddr); -__DLL__ herr_t H5FD_close(H5FD_t *file); -__DLL__ int H5FD_cmp(const H5FD_t *f1, const H5FD_t *f2); -__DLL__ int H5FD_query(const H5FD_t *f, unsigned long *flags/*out*/); -__DLL__ haddr_t H5FD_alloc(H5FD_t *file, H5FD_mem_t type, hsize_t size); -__DLL__ herr_t H5FD_free(H5FD_t *file, H5FD_mem_t type, haddr_t addr, hsize_t size); -__DLL__ haddr_t H5FD_realloc(H5FD_t *file, H5FD_mem_t type, haddr_t old_addr, +H5_DLL herr_t H5FD_close(H5FD_t *file); +H5_DLL int H5FD_cmp(const H5FD_t *f1, const H5FD_t *f2); +H5_DLL int H5FD_query(const H5FD_t *f, unsigned long *flags/*out*/); +H5_DLL haddr_t H5FD_alloc(H5FD_t *file, H5FD_mem_t type, hsize_t size); +H5_DLL herr_t H5FD_free(H5FD_t *file, H5FD_mem_t type, haddr_t addr, hsize_t size); +H5_DLL haddr_t H5FD_realloc(H5FD_t *file, H5FD_mem_t type, haddr_t old_addr, hsize_t old_size, hsize_t new_size); -__DLL__ haddr_t H5FD_get_eoa(H5FD_t *file); -__DLL__ herr_t H5FD_set_eoa(H5FD_t *file, haddr_t addr); -__DLL__ haddr_t H5FD_get_eof(H5FD_t *file); -__DLL__ herr_t H5FD_read(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, +H5_DLL haddr_t H5FD_get_eoa(H5FD_t *file); +H5_DLL herr_t H5FD_set_eoa(H5FD_t *file, haddr_t addr); +H5_DLL haddr_t H5FD_get_eof(H5FD_t *file); +H5_DLL herr_t H5FD_read(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, void *buf/*out*/); -__DLL__ herr_t H5FD_write(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, +H5_DLL herr_t H5FD_write(H5FD_t *file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, const void *buf); -__DLL__ herr_t H5FD_flush(H5FD_t *file, unsigned closing); -__DLL__ herr_t H5FD_get_fileno(const H5FD_t *file, unsigned long *filenum); +H5_DLL herr_t H5FD_flush(H5FD_t *file, unsigned closing); +H5_DLL herr_t H5FD_get_fileno(const H5FD_t *file, unsigned long *filenum); #endif /* !_H5FDprivate_H */ |