summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/cctk_DebugDefines.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/include/cctk_DebugDefines.h b/src/include/cctk_DebugDefines.h
index 84926536..91ce074e 100644
--- a/src/include/cctk_DebugDefines.h
+++ b/src/include/cctk_DebugDefines.h
@@ -12,6 +12,13 @@
********************* External Routines **********************
********************************************************************/
+#ifndef _CCTK_DEBUGDEFINES_H_
+#define _CCTK_DEBUGDEFINES_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
int CCTK_GFIndex1D (const cGH *GH, int i);
int CCTK_GFIndex2D (const cGH *GH, int i, int j);
int CCTK_GFIndex3D (const cGH *GH, int i, int j, int k);
@@ -21,3 +28,9 @@ int CCTK_VectGFIndex1D (const cGH *GH, int i, int n);
int CCTK_VectGFIndex2D (const cGH *GH, int i, int j, int n);
int CCTK_VectGFIndex3D (const cGH *GH, int i, int j, int k, int n);
int CCTK_VectGFIndex4D (const cGH *GH, int i, int j, int k, int l, int n);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif