diff options
author | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-07-14 23:32:43 +0000 |
---|---|---|
committer | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-07-14 23:32:43 +0000 |
commit | a4bfa13b225c75d2fc22f7f2125eef3a890888d5 (patch) | |
tree | 6d4c70759161461ce68cf61540cbf728dde2a340 /src/include/CommOverloadables.h | |
parent | 63cff4071a327b23ad212881cb2171e87960324a (diff) |
IMPORTANT!!
New arguments for two driver overloadable functions
CCTK_Abort(cGH *GH, int errorcode)
(Changed from CCTK_Abort(cGH *GH) because MPI_Abort would like an
error code)
CCTK_Exit(cGH *GH, int errorcode)
(Changed from CCTK_Exit(int errorcode, cGH *GH), because otherwise it
would be the only function with the cGH as the 2nd argument)
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1741 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/include/CommOverloadables.h')
-rw-r--r-- | src/include/CommOverloadables.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/CommOverloadables.h b/src/include/CommOverloadables.h index 2b8389c0..d44728e9 100644 --- a/src/include/CommOverloadables.h +++ b/src/include/CommOverloadables.h @@ -39,13 +39,13 @@ OVERLOADABLE(nProcs) #undef ARGUMENTS #define ARGUMENTS cGH *GH OVERLOADABLE(ParallelInit) -OVERLOADABLE(Abort) #undef ARGUMENTS -#define ARGUMENTS int retval, cGH *GH +#define ARGUMENTS cGH *GH, int retval #undef RETURN_TYPE #define RETURN_TYPE int OVERLOADABLE(Exit) +OVERLOADABLE(Abort) #undef ARGUMENTS #define ARGUMENTS tFleshConfig *config, int convergence_level |