summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2005-02-27 12:08:19 +0000
committerschnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac>2005-02-27 12:08:19 +0000
commit3c9ee6d1dc3a542accf56e3e80f4c9157115ae41 (patch)
tree941d50a04d433ce09f00af352cffc0342a22337e /src
parente9d8c3d6e84d051ae2f279e99018146b4e861f99 (diff)
Move check for C++ into CCODE section
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3995 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src')
-rw-r--r--src/include/cctk_Interp.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/include/cctk_Interp.h b/src/include/cctk_Interp.h
index 21eca146..ace23eeb 100644
--- a/src/include/cctk_Interp.h
+++ b/src/include/cctk_Interp.h
@@ -23,13 +23,13 @@
#ifndef _CCTK_INTERP_H_
#define _CCTK_INTERP_H_
+#ifdef CCODE
+
#ifdef __cplusplus
extern "C"
{
#endif
-#ifdef CCODE
-
/*
* typedefs for interpolation operator routines
*/
@@ -88,6 +88,11 @@ int CCTK_InterpLocalUniform (int N_dims,
int N_output_arrays,
const CCTK_INT output_array_type_codes[],
void *const output_arrays[]);
+
+#ifdef __cplusplus
+}
+#endif
+
#endif /* ifdef CCODE */
/*
@@ -116,8 +121,4 @@ int CCTK_InterpLocalUniform (int N_dims,
/* an interpolation point is in (or too close to) an excised region */
#define CCTK_ERROR_INTERP_POINT_EXCISED (-1003)
-#ifdef __cplusplus
-}
-#endif
-
#endif /* _INTERP_H_ */