diff options
author | tradke <tradke@b61c5cb5-eaca-4651-9a7a-d64986f99364> | 2003-07-14 14:12:49 +0000 |
---|---|---|
committer | tradke <tradke@b61c5cb5-eaca-4651-9a7a-d64986f99364> | 2003-07-14 14:12:49 +0000 |
commit | 819d64ba2958b154d845407b56323d2624122488 (patch) | |
tree | aaa0ce8613c565a82c58bf5f35a40f3fbf3cbd4c /src/Comm.c | |
parent | a2dc34d362192030d603ecec1b49a714349f338b (diff) |
Added a const qualifier to the 'cGH *' argument of PUGH functions which overload
the following flesh routines:
- CCTK_SyncGroup
- CCTK_EnableGroupCommI / CCTK_DisableGroupCommI
- CCTK_EnableGroupStorageI / CCTK_DisableGroupStorageI
- CCTK_GroupStorageIncrease / CCTK_GroupStorageDecrease
You will also need to update the flesh now.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@414 b61c5cb5-eaca-4651-9a7a-d64986f99364
Diffstat (limited to 'src/Comm.c')
-rw-r--r-- | src/Comm.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -46,7 +46,7 @@ static int PUGH_SyncSingleProc(pGH *pughGH, pComm *comm); @var GH @vdesc Pointer to CCTK grid hierarchy - @vtype cGH * + @vtype const cGH * @vio in @endvar @var groupname @@ -63,7 +63,7 @@ static int PUGH_SyncSingleProc(pGH *pughGH, pComm *comm); -1 for an unknown group or group type @endreturndesc @@*/ -int PUGH_SyncGroup(cGH *GH, const char *groupname) +int PUGH_SyncGroup(const cGH *GH, const char *groupname) { cGroup pgroup; int group, retval; @@ -119,7 +119,7 @@ int PUGH_SyncGroup(cGH *GH, const char *groupname) @var GH @vdesc Pointer to CCTK grid hierarchy - @vtype cGH * + @vtype const cGH * @vio in @endvar @var groupname @@ -136,7 +136,7 @@ int PUGH_SyncGroup(cGH *GH, const char *groupname) -1 for an unknown group type @endreturndesc @@*/ -int PUGH_EnableGroupComm(cGH *GH, const char *groupname) +int PUGH_EnableGroupComm(const cGH *GH, const char *groupname) { int group, retval; cGroup pgroup; @@ -183,7 +183,7 @@ int PUGH_EnableGroupComm(cGH *GH, const char *groupname) @var GH @vdesc Pointer to CCTK grid hierarchy - @vtype cGH * + @vtype const cGH * @vio in @endvar @var groupname @@ -200,7 +200,7 @@ int PUGH_EnableGroupComm(cGH *GH, const char *groupname) -1 for an unknown group type @endreturndesc @@*/ -int PUGH_DisableGroupComm(cGH *GH, const char *groupname) +int PUGH_DisableGroupComm(const cGH *GH, const char *groupname) { int group, first_var, retval; cGroup pgroup; |