diff options
author | Christian D. Ott <cott@tapir.caltech.edu> | 2010-10-22 06:02:20 -0700 |
---|---|---|
committer | Barry Wardell <barry.wardell@gmail.com> | 2011-12-14 18:25:35 +0000 |
commit | 7751eb7cb3f44870c49c8da98c86470153cd2cd4 (patch) | |
tree | 4585c17cb08e11b6aa858193c74b056b0bbc490b /Carpet/Carpet/src/carpet.hh | |
parent | 624c5115f4e8d82dff4db3311edd96a0224926ca (diff) |
* change prototype type of CallAfterRoutines and CallBeforeRoutines
from void to int to make Carpet compile again.
* actually return return values from these functions
to make Carpet work again.
Diffstat (limited to 'Carpet/Carpet/src/carpet.hh')
-rw-r--r-- | Carpet/Carpet/src/carpet.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Carpet/Carpet/src/carpet.hh b/Carpet/Carpet/src/carpet.hh index 37003acd3..93b5bc848 100644 --- a/Carpet/Carpet/src/carpet.hh +++ b/Carpet/Carpet/src/carpet.hh @@ -65,11 +65,11 @@ namespace Carpet { void CheckChecksums (const cGH* cgh, checktimes where); // Schedule - void CallBeforeRoutines (cGH const * cctkGH, + int CallBeforeRoutines (cGH const * cctkGH, void * const function, cFunctionData * const attribute, void * const data); - void CallAfterRoutines (cGH const * cctkGH, + int CallAfterRoutines (cGH const * cctkGH, void * const function, cFunctionData * const attribute, void * const data); |