summaryrefslogtreecommitdiffstats
path: root/src/H5FDmulti.h
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2001-07-30 17:03:57 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2001-07-30 17:03:57 (GMT)
commit06791fbe958506f1c80888bb8f80c73e1528be44 (patch)
tree6adf4fd3caf546742653058e7c182339c357d3cf /src/H5FDmulti.h
parent273602af14c83cf86a33d12768fba7f3a87e277f (diff)
downloadhdf5-06791fbe958506f1c80888bb8f80c73e1528be44.zip
hdf5-06791fbe958506f1c80888bb8f80c73e1528be44.tar.gz
hdf5-06791fbe958506f1c80888bb8f80c73e1528be44.tar.bz2
[svn-r4275]
Purpose: Bug Fix Description: Forward port of the bug fix to the 1.4 branch reguarding the C++ compile error. Solution: Need to put #ifdef __cplusplus extern "C" { #endif /* ... */ #ifdef __cplusplus } #endif around function declarations.
Diffstat (limited to 'src/H5FDmulti.h')
-rw-r--r--src/H5FDmulti.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/H5FDmulti.h b/src/H5FDmulti.h
index 8bd81d5..9e908ba 100644
--- a/src/H5FDmulti.h
+++ b/src/H5FDmulti.h
@@ -14,6 +14,9 @@
#define H5FD_MULTI (H5FD_multi_init())
+#ifdef __cplusplus
+extern "C" {
+#endif
__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,
@@ -27,5 +30,8 @@ __DLL__ herr_t H5Pget_dxpl_multi(hid_t dxpl_id, hid_t *memb_dxpl/*out*/);
__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);
+#ifdef __cplusplus
+}
+#endif
#endif