diff options
author | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-10-04 22:01:28 +0000 |
---|---|---|
committer | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-10-04 22:01:28 +0000 |
commit | 125f570312122ce3de31c699c95637d2a4eddaf2 (patch) | |
tree | e249bcf8898727e35204c0551e02bd8117e3da2d /src/include/MainOverloadables.h | |
parent | 5dadfa4188f57b3abe680526ce06146b888a789e (diff) |
Made CCTK_MainLoopIndex and CCTK_SetMainLoopIndex overloadable, and added
routines that were originally there as defaults
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1852 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/include/MainOverloadables.h')
-rw-r--r-- | src/include/MainOverloadables.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/include/MainOverloadables.h b/src/include/MainOverloadables.h index fc20cab2..f658ab49 100644 --- a/src/include/MainOverloadables.h +++ b/src/include/MainOverloadables.h @@ -24,5 +24,19 @@ OVERLOADABLE(Initialise) OVERLOADABLE(Evolve) OVERLOADABLE(Shutdown) +#undef RETURN_TYPE +#define RETURN_TYPE int +#undef ARGUMENTS +#define ARGUMENTS void + +OVERLOADABLE(MainLoopIndex) + +#undef RETURN_TYPE +#define RETURN_TYPE int +#undef ARGUMENTS +#define ARGUMENTS int main_loop_index + +OVERLOADABLE(SetMainLoopIndex) + #undef ARGUMENTS #undef RETURN_TYPE |