aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortradke <tradke@10716dce-81a3-4424-a2c8-48026a0d3035>2001-03-16 16:00:18 +0000
committertradke <tradke@10716dce-81a3-4424-a2c8-48026a0d3035>2001-03-16 16:00:18 +0000
commitf85c6119a0e27c84120617559d743509c4d478da (patch)
tree6b908b0d6b3f2dad8048aaba048ba5c2cbb78bca
parent8fcc5787bbc1286bbf5c82753e6679fbbecf4e00 (diff)
Declared routines' prototypes to be extern "C".
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@48 10716dce-81a3-4424-a2c8-48026a0d3035
-rw-r--r--src/NewPUGHSlab.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/NewPUGHSlab.h b/src/NewPUGHSlab.h
index a61c611..a1f1167 100644
--- a/src/NewPUGHSlab.h
+++ b/src/NewPUGHSlab.h
@@ -10,6 +10,15 @@
@@*/
+#ifndef _PUGHSLAB_PUGHSLAB_H_
+#define _PUGHSLAB_PUGHSLAB_H_
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+
/* prototype of datatype conversion routines */
typedef void (*PUGHSlab_conversion_fn) (void *hdata,
void *vdata,
@@ -46,3 +55,10 @@ int NewHyperslab_GetHyperslab (cGH *GH,
int hsize[/* hdim */]);
PUGHSlab_conversion_fn PUGHSlab_GetDatatypeConversionFn (int vtype, int htype);
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _PUGHSLAB_PUGHSLAB_H_ */