summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElena Pourmal <epourmal@hdfgroup.org>2003-05-01 20:27:03 (GMT)
committerElena Pourmal <epourmal@hdfgroup.org>2003-05-01 20:27:03 (GMT)
commit8bb8876923db76dd4e6d2c9c3c3a33356777cdac (patch)
tree863c62080c25b08e7e4ee71223464206fd5f1ac4
parent5b13e08ba686de2c4a97d92d4748bdd76c51e91f (diff)
downloadhdf5-8bb8876923db76dd4e6d2c9c3c3a33356777cdac.zip
hdf5-8bb8876923db76dd4e6d2c9c3c3a33356777cdac.tar.gz
hdf5-8bb8876923db76dd4e6d2c9c3c3a33356777cdac.tar.bz2
[svn-r6791]
Purpase: Fortran Windows DLL support Description: Fortran test uses functions h5_fixname and h5_cleanup from h5test.c. Those were not exported, and Fortran could not link while using DLLs. Solution: Added H5_DLL to functions prototype to export them from C DLL. Platforms tested: Windows, h5committested. Misc. update:
-rw-r--r--test/h5test.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/h5test.h b/test/h5test.h
index cceaa30..cd35517 100644
--- a/test/h5test.h
+++ b/test/h5test.h
@@ -67,9 +67,9 @@ extern MPI_Info h5_io_info_g; /* MPI INFO object for IO */
extern "C" {
#endif
-int h5_cleanup(const char *base_name[], hid_t fapl);
+H5_DLL int h5_cleanup(const char *base_name[], hid_t fapl);
herr_t h5_errors(void *client_data);
-char *h5_fixname(const char *base_name, hid_t fapl, char *fullname,
+H5_DLL char *h5_fixname(const char *base_name, hid_t fapl, char *fullname,
size_t size);
hid_t h5_fileaccess(void);
void h5_no_hwconv(void);