diff options
author | schnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2003-10-27 15:30:33 +0000 |
---|---|---|
committer | schnetter <schnetter@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2003-10-27 15:30:33 +0000 |
commit | 40eee8fdb5507b1ff9020afb36d16dc834133ba3 (patch) | |
tree | 11122a19d8c83ec606c431d838b470b88f6ca317 /src | |
parent | 7cb1a39a6b61b5b0b2a0ef137b28496324713e1f (diff) |
Change include mechanism for aliased functions in Fortran. One now has to
#include "cctk_Functions.h" and then use the macro
DECLARE_CCTK_FUNCTIONS.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3439 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src')
-rw-r--r-- | src/include/cctk.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/cctk.h b/src/include/cctk.h index 7181eba9..22f0fe20 100644 --- a/src/include/cctk.h +++ b/src/include/cctk.h @@ -72,11 +72,11 @@ #define CCTK_LSSH(stag,dim) cctk_lssh((stag)+CCTK_NSTAGGER+(dim)) #define CCTK_LSSH_IDX(stag,dim) ((stag)+CCTK_NSTAGGER*(dim)) -#define DECLARE_CCTK_FUNCTIONS &&\ +#define _DECLARE_CCTK_FUNCTIONS &&\ integer CCTK_Equals, CCTK_MyProc, CCTK_nProcs, CCTK_IsThornActive&&\ external CCTK_Equals, CCTK_MyProc, CCTK_nProcs, CCTK_IsThornActive&&\ - CCTK_POINTER CCTK_PointerTo, CCTK_NullPointer&&\ - external CCTK_PointerTo, CCTK_NullPointer + CCTK_POINTER CCTK_PointerTo, CCTK_NullPointer&&\ + external CCTK_PointerTo, CCTK_NullPointer #endif /*FCODE*/ @@ -95,7 +95,7 @@ #include "cctk_Faces.h" #include "cctk_File.h" #include "cctk_Flesh.h" -#include "cctk_FunctionAliases.h" +#include "cctk_Functions.h" #include "cctk_GHExtensions.h" #include "cctk_Groups.h" #include "cctk_GroupsOnGH.h" |