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/include/cctk_GroupsOnGH.h | |
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/include/cctk_GroupsOnGH.h')
-rw-r--r-- | src/include/cctk_GroupsOnGH.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/cctk_GroupsOnGH.h b/src/include/cctk_GroupsOnGH.h index f7e464b7..fb4f3ce8 100644 --- a/src/include/cctk_GroupsOnGH.h +++ b/src/include/cctk_GroupsOnGH.h @@ -32,10 +32,10 @@ void *CCTK_VarDataPtr(const cGH *GH, int timelevel, const char *fullvarname); void *CCTK_VarDataPtrI(const cGH *GH, int timelevel, int varindex); void *CCTK_VarDataPtrB(const cGH *GH, int timelevel, int varindex, char *fullvarname); -int CCTK_DisableGroupStorageI(cGH *GH, int group); -int CCTK_DisableGroupCommI(cGH *GH, int group); -int CCTK_EnableGroupStorageI(cGH *GH, int group); -int CCTK_EnableGroupCommI(cGH *GH, int group); +int CCTK_DisableGroupStorageI(const cGH *GH, int group); +int CCTK_DisableGroupCommI(const cGH *GH, int group); +int CCTK_EnableGroupStorageI(const cGH *GH, int group); +int CCTK_EnableGroupCommI(const cGH *GH, int group); int CCTK_GrouplbndGN(const cGH *GH, int dim, int *lbnd, const char *groupname); int CCTK_GrouplbndVN(const cGH *GH, int dim, int *lbnd, const char *varname); |