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_IO.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_IO.h')
-rw-r--r-- | src/include/cctk_IO.h | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/src/include/cctk_IO.h b/src/include/cctk_IO.h index 10cfcd23..fbabb0d3 100644 --- a/src/include/cctk_IO.h +++ b/src/include/cctk_IO.h @@ -1,15 +1,16 @@ /*@@ @header cctk_IO.h - @date + @date 1999/07/22 @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_IO_H_ -#define _CCTK_IO_H_ +#define _CCTK_IO_H_ 1 #include "OverloadMacros.h" @@ -32,16 +33,12 @@ extern "C" { #undef OVERLOADABLE -int CCTK_OutputVarAs (cGH *GH, const char *var, const char *alias); -int CCTK_OutputVar (cGH *GH, const char *var); -int CCTK_OutputVarByMethod (cGH *GH, const char *var, const char *method); +int CCTK_OutputVarAs (const cGH *GH, const char *var, const char *alias); +int CCTK_OutputVar (const cGH *GH, const char *var); +int CCTK_OutputVarByMethod (const cGH *GH, const char *var, const char *method); #ifdef __cplusplus } #endif #endif - - - - |