diff options
author | Scott Wegner <swegner@hdfgroup.org> | 2008-09-19 17:13:10 (GMT) |
---|---|---|
committer | Scott Wegner <swegner@hdfgroup.org> | 2008-09-19 17:13:10 (GMT) |
commit | ed54f5ab7ecd07411b1c83d71b8bab79c9ee6be4 (patch) | |
tree | 4e2e879bed42652369fc1cf8d4acfdb18f9a6aa6 /src | |
parent | 82f30910c2a7ff144e0dd3c78ade98a3e1c68954 (diff) | |
download | hdf5-ed54f5ab7ecd07411b1c83d71b8bab79c9ee6be4.zip hdf5-ed54f5ab7ecd07411b1c83d71b8bab79c9ee6be4.tar.gz hdf5-ed54f5ab7ecd07411b1c83d71b8bab79c9ee6be4.tar.bz2 |
[svn-r15660] Purpose: Fix minor Windows issues in new H5EA interface.
Description:
We've run into a few Windows-specific problems with the new H5EA interface. In particular, this checkin makes the following changes:
-- Change shutdown defined in earray.c to shutdown_ea, to avoid conflicting with another Windows-specific system call.
-- Prefix H5EA_get in H5EAprivate.h with H5_DLL, so the function is properly exported in Windows DLL version.
These changes shouldn't break any other platforms.
Tested:
VS2005 on WinXP
h5committest (linew kagiso smirom)
Diffstat (limited to 'src')
-rw-r--r-- | src/H5EAprivate.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5EAprivate.h b/src/H5EAprivate.h index 667af3d7..b104fc2 100644 --- a/src/H5EAprivate.h +++ b/src/H5EAprivate.h @@ -104,7 +104,7 @@ H5_DLL H5EA_t *H5EA_open(H5F_t *f, hid_t dxpl_id, haddr_t ea_addr, H5_DLL herr_t H5EA_get_nelmts(const H5EA_t *ea, hsize_t *nelmts); H5_DLL herr_t H5EA_get_addr(const H5EA_t *ea, haddr_t *addr); H5_DLL herr_t H5EA_set(const H5EA_t *ea, hid_t dxpl_id, hsize_t idx, const void *elmt); -herr_t H5EA_get(const H5EA_t *ea, hid_t dxpl_id, hsize_t idx, void *elmt); +H5_DLL herr_t H5EA_get(const H5EA_t *ea, hid_t dxpl_id, hsize_t idx, void *elmt); H5_DLL herr_t H5EA_close(H5EA_t *ea, hid_t dxpl_id); H5_DLL herr_t H5EA_delete(H5F_t *f, hid_t dxpl_id, haddr_t ea_addr); |