summaryrefslogtreecommitdiff
path: root/src/include/CommOverloadables.h
diff options
context:
space:
mode:
authortradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2003-07-14 14:11:32 +0000
committertradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2003-07-14 14:11:32 +0000
commit5821d457cee885257472ca46231b8c97709fc2ed (patch)
tree3b8bb77d01b6d345d9c180e6e6bfa7364a490ec4 /src/include/CommOverloadables.h
parent5c2c6ebc0df70765eb1a8c619e808267068b7237 (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/CommOverloadables.h')
-rw-r--r--src/include/CommOverloadables.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/CommOverloadables.h b/src/include/CommOverloadables.h
index 517fe054..38f5b596 100644
--- a/src/include/CommOverloadables.h
+++ b/src/include/CommOverloadables.h
@@ -41,7 +41,7 @@
#endif
#define RETURN_TYPE int
-#define ARGUMENTS cGH *GH, const char *group
+#define ARGUMENTS const cGH *GH, const char *group
#define USE_ARGUMENTS GH = GH; group = group;
OVERLOADABLE(SyncGroup)
@@ -111,7 +111,7 @@ OVERLOADABLE(GroupDynamicData)
#undef RETURN_TYPE
#define RETURN_TYPE int
-#define ARGUMENTS cGH *GH, int n_groups,const int *groups,const int *timelevels, int *status
+#define ARGUMENTS const cGH *GH, int n_groups,const int *groups,const int *timelevels, int *status
#define USE_ARGUMENTS GH = GH; n_groups=n_groups; groups = groups; timelevels = timelevels; status = status;
OVERLOADABLE(GroupStorageIncrease)
OVERLOADABLE(GroupStorageDecrease)