summaryrefslogtreecommitdiff
path: root/src/include/cctk_Interp.h
diff options
context:
space:
mode:
authorhawke <hawke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2005-02-18 09:58:31 +0000
committerhawke <hawke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2005-02-18 09:58:31 +0000
commitdff8b4e6193b560e26efa6458ad33fb473aa912a (patch)
tree5c44c5e02d681dfa5c526d69275a6f2e27bb85f5 /src/include/cctk_Interp.h
parent4a04d1704f598995608523dc10229a7568f00f4d (diff)
Add cctk_Interp.h to cctk.h (FCODE section). Surround C prototypes in
cctk_Interp.h with CCODE ifdefs. This allows Fortran code to use the same #def'd error codes as the C code. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3989 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/include/cctk_Interp.h')
-rw-r--r--src/include/cctk_Interp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/cctk_Interp.h b/src/include/cctk_Interp.h
index 8199b9f2..4b4d700c 100644
--- a/src/include/cctk_Interp.h
+++ b/src/include/cctk_Interp.h
@@ -28,6 +28,8 @@ extern "C"
{
#endif
+#ifdef CCODE
+
/*
* typedefs for interpolation operator routines
*/
@@ -86,6 +88,7 @@ int CCTK_InterpLocalUniform (int N_dims,
int N_output_arrays,
const CCTK_INT output_array_type_codes[],
void *const output_arrays[]);
+#endif /* ifdef CCODE /*
/*
* error codes for CCTK_InterpLocalUniform()