diff options
author | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2001-11-05 14:58:55 +0000 |
---|---|---|
committer | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2001-11-05 14:58:55 +0000 |
commit | 7429addb5b7f80c1035b59afa239996ff1a58c65 (patch) | |
tree | 1ba6dde297325a705161420eacd2a2151db10fa5 /src/include/cctk_Comm.h | |
parent | 295247798ad3e1ef841ac7e04d219ac3cb146e8b (diff) |
Adding a const qualifier to the 'cGH *' argument of some flesh routines
and for I/O method registration.
You will also need to update the I/O thorns which I will commit changes to now.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2452 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/include/cctk_Comm.h')
-rw-r--r-- | src/include/cctk_Comm.h | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/src/include/cctk_Comm.h b/src/include/cctk_Comm.h index d0cc6eff..d2c839b5 100644 --- a/src/include/cctk_Comm.h +++ b/src/include/cctk_Comm.h @@ -2,20 +2,22 @@ @header cctk_Comm.h @date Sat Feb 13 19:42:29 1999 @author Tom Goodale - @desc - Header defining the variables holding the overloaded communication functions - @enddesc - @version $Header$ + @desc + Header defining the variables holding the overloaded + communication functions + @enddesc + @version $Header$ @@*/ #ifndef _CCTK_COMM_H_ -#define _CCTK_COMM_H_ +#define _CCTK_COMM_H_ 1 #include "OverloadMacros.h" #ifdef __cplusplus extern "C" { #endif + /* Define the prototypes for the functions. */ #define OVERLOADABLE(name) OVERLOADABLE_PROTOTYPE(name) @@ -30,17 +32,13 @@ extern "C" { #undef OVERLOADABLE -int CCTK_QueryGroupStorage(cGH *,const char *); -int CCTK_QueryGroupStorageI(cGH *,int); -const int *CCTK_ArrayGroupSize(cGH *,int, const char *); -const int *CCTK_ArrayGroupSizeI(cGH *,int,int); +int CCTK_QueryGroupStorage (const cGH *GH, const char *groupname); +int CCTK_QueryGroupStorageI (const cGH *GH, int groupindex); +const int *CCTK_ArrayGroupSize (const cGH *GH, int dir, const char *groupname); +const int *CCTK_ArrayGroupSizeI (const cGH *GH, int dir, int groupindex); #ifdef __cplusplus } #endif -#endif - - - - +#endif /* _CCTK_COMM_H_ */ |