From 2ed8a0f3927997d973fdb3f5958c7484d5cd9980 Mon Sep 17 00:00:00 2001 From: eschnett Date: Mon, 7 May 2012 19:16:59 +0000 Subject: Protect declarations with external "C" git-svn-id: http://svn.cactuscode.org/flesh/trunk@4813 17b73243-c579-4c4c-a9d2-2d5706c11dac --- src/include/cctk_DebugDefines.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src') 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 -- cgit v1.2.3