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/H5HLprivate.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/H5HLprivate.h')
-rw-r--r-- | src/H5HLprivate.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/H5HLprivate.h b/src/H5HLprivate.h index ba659ba..3aa630e 100644 --- a/src/H5HLprivate.h +++ b/src/H5HLprivate.h @@ -50,15 +50,15 @@ /* * Library prototypes... */ -__DLL__ herr_t H5HL_create(H5F_t *f, size_t size_hint, haddr_t *addr/*out*/); -__DLL__ void *H5HL_read(H5F_t *f, haddr_t addr, size_t offset, size_t size, +H5_DLL herr_t H5HL_create(H5F_t *f, size_t size_hint, haddr_t *addr/*out*/); +H5_DLL void *H5HL_read(H5F_t *f, haddr_t addr, size_t offset, size_t size, void *buf); -__DLL__ const void *H5HL_peek(H5F_t *f, haddr_t addr, size_t offset); -__DLL__ size_t H5HL_insert(H5F_t *f, haddr_t addr, size_t size, +H5_DLL const void *H5HL_peek(H5F_t *f, haddr_t addr, size_t offset); +H5_DLL size_t H5HL_insert(H5F_t *f, haddr_t addr, size_t size, const void *buf); -__DLL__ herr_t H5HL_write(H5F_t *f, haddr_t addr, size_t offset, size_t size, +H5_DLL herr_t H5HL_write(H5F_t *f, haddr_t addr, size_t offset, size_t size, const void *buf); -__DLL__ herr_t H5HL_remove(H5F_t *f, haddr_t addr, size_t offset, size_t size); -__DLL__ herr_t H5HL_debug(H5F_t *f, haddr_t addr, FILE * stream, int indent, +H5_DLL herr_t H5HL_remove(H5F_t *f, haddr_t addr, size_t offset, size_t size); +H5_DLL herr_t H5HL_debug(H5F_t *f, haddr_t addr, FILE * stream, int indent, int fwidth); #endif |