aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschnetter <schnetter@2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8>2004-05-05 19:53:00 +0000
committerschnetter <schnetter@2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8>2004-05-05 19:53:00 +0000
commit93551347ff97b507144a18a1137e09a6a4f89c4f (patch)
tree01df9c1b3c2b419df7d9a9b2b38ffcdaee98da79
parentf2d02662fa8676e5da8f7d84763202cb9a8c786d (diff)
Wrap in extern "C" for C++
git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@31 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
-rw-r--r--src/slab.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/slab.h b/src/slab.h
index 84c0af1..dfed6ca 100644
--- a/src/slab.h
+++ b/src/slab.h
@@ -3,6 +3,11 @@
#ifndef SLAB_H
#define SLAB_H
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
#include "cctk.h"
/*
@@ -94,4 +99,8 @@ int Slab_Transfer (cGH const * restrict const cctkGH,
int const dsttype,
void * const dstptr);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* defined SLAB_H */