summaryrefslogtreecommitdiffstats
path: root/src/H5FDgass.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/H5FDgass.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/H5FDgass.h')
-rw-r--r--src/H5FDgass.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/H5FDgass.h b/src/H5FDgass.h
index 88a4e69..f9ba502 100644
--- a/src/H5FDgass.h
+++ b/src/H5FDgass.h
@@ -38,10 +38,19 @@ typedef struct GASS_Info {
/* Function prototypes */
#ifdef H5_HAVE_GASS
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
hid_t H5FD_gass_init(void);
herr_t H5Pset_fapl_gass(hid_t fapl_id, GASS_Info info);
herr_t H5Pget_fapl_gass(hid_t fapl_id, GASS_Info *info/*out*/);
+#ifdef __cplusplus
+}
+#endif
+
#endif
#endif /* H5FDgass_H */