From d9f28b544da39442731bdf36bdf67578f7639599 Mon Sep 17 00:00:00 2001 From: Patrick Lu Date: Mon, 30 Aug 1999 11:04:35 -0500 Subject: [svn-r1615] put the __DLL__ in front of the function prototypes so the dll could see them --- src/H5FDcore.h | 6 +++--- src/H5FDfamily.h | 6 +++--- src/H5FDmulti.h | 12 ++++++------ src/H5FDpublic.h | 28 ++++++++++++++-------------- src/H5FDsec2.h | 4 ++-- 5 files changed, 28 insertions(+), 28 deletions(-) diff --git a/src/H5FDcore.h b/src/H5FDcore.h index fa3cb140..223bb0a 100644 --- a/src/H5FDcore.h +++ b/src/H5FDcore.h @@ -14,8 +14,8 @@ #define H5FD_CORE (H5FD_core_init()) -hid_t H5FD_core_init(void); -herr_t H5Pset_fapl_core(hid_t fapl_id, size_t increment); -herr_t H5Pget_fapl_core(hid_t fapl_id, size_t *increment/*out*/); +__DLL__ hid_t H5FD_core_init(void); +__DLL__ herr_t H5Pset_fapl_core(hid_t fapl_id, size_t increment); +__DLL__ herr_t H5Pget_fapl_core(hid_t fapl_id, size_t *increment/*out*/); #endif diff --git a/src/H5FDfamily.h b/src/H5FDfamily.h index a02230e..98683e2 100644 --- a/src/H5FDfamily.h +++ b/src/H5FDfamily.h @@ -14,10 +14,10 @@ #define H5FD_FAMILY (H5FD_family_init()) -hid_t H5FD_family_init(void); -herr_t H5Pset_fapl_family(hid_t fapl_id, hsize_t memb_size, +__DLL__ hid_t H5FD_family_init(void); +__DLL__ herr_t H5Pset_fapl_family(hid_t fapl_id, hsize_t memb_size, hid_t memb_fapl_id); -herr_t H5Pget_fapl_family(hid_t fapl_id, hsize_t *memb_size/*out*/, +__DLL__ herr_t H5Pget_fapl_family(hid_t fapl_id, hsize_t *memb_size/*out*/, hid_t *memb_fapl_id/*out*/); #endif diff --git a/src/H5FDmulti.h b/src/H5FDmulti.h index ad8039a..6014115 100644 --- a/src/H5FDmulti.h +++ b/src/H5FDmulti.h @@ -14,17 +14,17 @@ #define H5FD_MULTI (H5FD_multi_init()) -hid_t H5FD_multi_init(void); -herr_t H5Pset_fapl_multi(hid_t fapl_id, const H5FD_mem_t *memb_map, +__DLL__ hid_t H5FD_multi_init(void); +__DLL__ herr_t H5Pset_fapl_multi(hid_t fapl_id, const H5FD_mem_t *memb_map, const hid_t *memb_fapl, const char **memb_name, const haddr_t *memb_addr, hbool_t relax); -herr_t H5Pget_fapl_multi(hid_t fapl_id, H5FD_mem_t *memb_map/*out*/, +__DLL__ herr_t H5Pget_fapl_multi(hid_t fapl_id, H5FD_mem_t *memb_map/*out*/, hid_t *memb_fapl/*out*/, char **memb_name/*out*/, haddr_t *memb_addr/*out*/, hbool_t *relax/*out*/); -herr_t H5Pset_dxpl_multi(hid_t dxpl_id, const hid_t *memb_dxpl); -herr_t H5Pget_dxpl_multi(hid_t dxpl_id, hid_t *memb_dxpl/*out*/); +__DLL__ herr_t H5Pset_dxpl_multi(hid_t dxpl_id, const hid_t *memb_dxpl); +__DLL__ herr_t H5Pget_dxpl_multi(hid_t dxpl_id, hid_t *memb_dxpl/*out*/); -herr_t H5Pset_fapl_split(hid_t fapl, const char *meta_ext, +__DLL__ herr_t H5Pset_fapl_split(hid_t fapl, const char *meta_ext, hid_t meta_plist_id, const char *raw_ext, hid_t raw_plist_id); diff --git a/src/H5FDpublic.h b/src/H5FDpublic.h index 4ff4af0..dc6d9f7 100644 --- a/src/H5FDpublic.h +++ b/src/H5FDpublic.h @@ -130,24 +130,24 @@ extern "C" { #endif /* Function prototypes */ -hid_t H5FDregister(const H5FD_class_t *cls); -herr_t H5FDunregister(hid_t driver_id); -H5FD_t *H5FDopen(const char *name, unsigned flags, hid_t fapl_id, +__DLL__ hid_t H5FDregister(const H5FD_class_t *cls); +__DLL__ herr_t H5FDunregister(hid_t driver_id); +__DLL__ H5FD_t *H5FDopen(const char *name, unsigned flags, hid_t fapl_id, haddr_t maxaddr); -herr_t H5FDclose(H5FD_t *file); -int H5FDcmp(const H5FD_t *f1, const H5FD_t *f2); -haddr_t H5FDalloc(H5FD_t *file, H5FD_mem_t type, hsize_t size); -herr_t H5FDfree(H5FD_t *file, H5FD_mem_t type, haddr_t addr, hsize_t size); -haddr_t H5FDrealloc(H5FD_t *file, H5FD_mem_t type, haddr_t addr, +__DLL__ herr_t H5FDclose(H5FD_t *file); +__DLL__ int H5FDcmp(const H5FD_t *f1, const H5FD_t *f2); +__DLL__ haddr_t H5FDalloc(H5FD_t *file, H5FD_mem_t type, hsize_t size); +__DLL__ herr_t H5FDfree(H5FD_t *file, H5FD_mem_t type, haddr_t addr, hsize_t size); +__DLL__ haddr_t H5FDrealloc(H5FD_t *file, H5FD_mem_t type, haddr_t addr, hsize_t old_size, hsize_t new_size); -haddr_t H5FDget_eoa(H5FD_t *file); -herr_t H5FDset_eoa(H5FD_t *file, haddr_t eof); -haddr_t H5FDget_eof(H5FD_t *file); -herr_t H5FDread(H5FD_t *file, hid_t dxpl_id, haddr_t addr, hsize_t size, +__DLL__ haddr_t H5FDget_eoa(H5FD_t *file); +__DLL__ herr_t H5FDset_eoa(H5FD_t *file, haddr_t eof); +__DLL__ haddr_t H5FDget_eof(H5FD_t *file); +__DLL__ herr_t H5FDread(H5FD_t *file, hid_t dxpl_id, haddr_t addr, hsize_t size, void *buf/*out*/); -herr_t H5FDwrite(H5FD_t *file, hid_t dxpl_id, haddr_t addr, hsize_t size, +__DLL__ herr_t H5FDwrite(H5FD_t *file, hid_t dxpl_id, haddr_t addr, hsize_t size, const void *buf); -herr_t H5FDflush(H5FD_t *file); +__DLL__ herr_t H5FDflush(H5FD_t *file); #ifdef __cplusplus } diff --git a/src/H5FDsec2.h b/src/H5FDsec2.h index 4310f9e..7e58de3 100644 --- a/src/H5FDsec2.h +++ b/src/H5FDsec2.h @@ -14,7 +14,7 @@ #define H5FD_SEC2 (H5FD_sec2_init()) -hid_t H5FD_sec2_init(void); -herr_t H5Pset_fapl_sec2(hid_t fapl_id); +__DLL__ hid_t H5FD_sec2_init(void); +__DLL__ herr_t H5Pset_fapl_sec2(hid_t fapl_id); #endif -- cgit v0.12