diff options
author | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2003-07-14 14:11:32 +0000 |
---|---|---|
committer | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2003-07-14 14:11:32 +0000 |
commit | 5821d457cee885257472ca46231b8c97709fc2ed (patch) | |
tree | 3b8bb77d01b6d345d9c180e6e6bfa7364a490ec4 /src/main/GroupsOnGH.c | |
parent | 5c2c6ebc0df70765eb1a8c619e808267068b7237 (diff) |
Added a const qualifier to the 'cGH *' argument of the following functions
(and their default overloadables):
- CCTK_SyncGroup
- CCTK_EnableGroupCommI / CCTK_DisableGroupCommI
- CCTK_EnableGroupStorageI / CCTK_DisableGroupStorageI
- CCTK_GroupStorageIncrease / CCTK_GroupStorageDecrease
- CCTK_CoordRegisterRange / CCTK_CoordRegisterRangePhysIndex
You should also update all driver thorns (eg. PUGH) now.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3274 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/main/GroupsOnGH.c')
-rw-r--r-- | src/main/GroupsOnGH.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/GroupsOnGH.c b/src/main/GroupsOnGH.c index 1524ba2d..54bd1e5e 100644 --- a/src/main/GroupsOnGH.c +++ b/src/main/GroupsOnGH.c @@ -359,7 +359,7 @@ void *CCTK_VarDataPtrB(const cGH *GH, int timelevel, int vindex, char *varname) Enables communication for a group based upon its name. @enddesc @@*/ -int CCTK_EnableGroupCommI(cGH *GH, int group) +int CCTK_EnableGroupCommI(const cGH *GH, int group) { int retcode; char *group_name; @@ -387,7 +387,7 @@ int CCTK_EnableGroupCommI(cGH *GH, int group) Enables storage for a group based upon its name. @enddesc @@*/ -int CCTK_EnableGroupStorageI(cGH *GH, int group) +int CCTK_EnableGroupStorageI(const cGH *GH, int group) { int retcode; char *group_name; @@ -418,7 +418,7 @@ int CCTK_EnableGroupStorageI(cGH *GH, int group) Routine to switch communication off for a group based upon its index @enddesc @@*/ -int CCTK_DisableGroupCommI(cGH *GH, int group) +int CCTK_DisableGroupCommI(const cGH *GH, int group) { int retcode; char *group_name; @@ -449,7 +449,7 @@ int CCTK_DisableGroupCommI(cGH *GH, int group) Routine to switch storage off for a group based upon its index @enddesc @@*/ -int CCTK_DisableGroupStorageI(cGH *GH, int group) +int CCTK_DisableGroupStorageI(const cGH *GH, int group) { int retcode; char *group_name; |