summaryrefslogtreecommitdiffstats
path: root/src/H5FDgass.h
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2001-07-30 17:01:54 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2001-07-30 17:01:54 (GMT)
commite1d58d1a9acc2a4ac183100f6a46e2572b9feec8 (patch)
tree2fac9a23428d03793e38ee7709fe89b7f6458171 /src/H5FDgass.h
parent5f1c3a0fb9427c479c25119551cdbcb880ef5050 (diff)
downloadhdf5-e1d58d1a9acc2a4ac183100f6a46e2572b9feec8.zip
hdf5-e1d58d1a9acc2a4ac183100f6a46e2572b9feec8.tar.gz
hdf5-e1d58d1a9acc2a4ac183100f6a46e2572b9feec8.tar.bz2
[svn-r4274]
Purpose: Bug Fix Description: When compiling with a C++ compiler, the compiler would balk at finding some file drivers. Solution: We need to put this: #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 5f06e0e..a0f84d7 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 */