From 8bb8876923db76dd4e6d2c9c3c3a33356777cdac Mon Sep 17 00:00:00 2001 From: Elena Pourmal Date: Thu, 1 May 2003 15:27:03 -0500 Subject: [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: --- test/h5test.h | 4 ++-- 1 file 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); -- cgit v0.12