aboutsummaryrefslogtreecommitdiff
path: root/src/OutputScalar.c
diff options
context:
space:
mode:
authortradke <tradke@b589c3ab-70e8-4b4d-a09f-cba2dd200880>2001-11-05 15:01:00 +0000
committertradke <tradke@b589c3ab-70e8-4b4d-a09f-cba2dd200880>2001-11-05 15:01:00 +0000
commitaefccf7f6c7d23f01120009ea144546575cdd289 (patch)
tree0f765c9a263c807e27881c02a4920602cb97f61e /src/OutputScalar.c
parent99faa32c501ebb610aa7d40e55b714272bb785d8 (diff)
Added const qualifier to the 'cGH *' argument of some more IO functions.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOBasic/trunk@105 b589c3ab-70e8-4b4d-a09f-cba2dd200880
Diffstat (limited to 'src/OutputScalar.c')
-rw-r--r--src/OutputScalar.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/OutputScalar.c b/src/OutputScalar.c
index 6e23774..0289625 100644
--- a/src/OutputScalar.c
+++ b/src/OutputScalar.c
@@ -40,11 +40,11 @@ static void SetOutputFlag (int vindex, const char *optstring, void *arg);
@endhistory
@var GH
@vdesc Pointer to CCTK GH
- @vtype cGH
+ @vtype const cGH *
@vio in
@endvar
@@*/
-int IOBasic_ScalarOutputGH (cGH *GH)
+int IOBasic_ScalarOutputGH (const cGH *GH)
{
int vindex;
const char *name;
@@ -111,7 +111,7 @@ int IOBasic_ScalarOutputGH (cGH *GH)
@calledby IOBasic_ScalarOutputGH, CCTK_OutputVarAsByMethod ("IOBasic")
@var GH
@vdesc Pointer to CCTK GH
- @vtype cGH
+ @vtype const cGH *
@vio in
@vcomment
@endvar
@@ -128,7 +128,7 @@ int IOBasic_ScalarOutputGH (cGH *GH)
@vcomment
@endvar
@@*/
-int IOBasic_ScalarOutputVarAs (cGH *GH, const char *fullname, const char *alias)
+int IOBasic_ScalarOutputVarAs (const cGH *GH, const char *fullname, const char *alias)
{
int vindex;
@@ -172,7 +172,7 @@ int IOBasic_ScalarOutputVarAs (cGH *GH, const char *fullname, const char *alias)
@endhistory
@var GH
@vdesc Pointer to CCTK GH
- @vtype cGH
+ @vtype const cGH *
@vio in
@vcomment
@endvar
@@ -183,7 +183,7 @@ int IOBasic_ScalarOutputVarAs (cGH *GH, const char *fullname, const char *alias)
@vcomment
@endvar
@@*/
-int IOBasic_TimeForScalarOutput (cGH *GH, int vindex)
+int IOBasic_TimeForScalarOutput (const cGH *GH, int vindex)
{
int return_type;
iobasicGH *myGH;
@@ -239,7 +239,7 @@ int IOBasic_TimeForScalarOutput (cGH *GH, int vindex)
@calledby CCTK scheduler
@var GH
@vdesc Pointer to CCTK GH
- @vtype cGH
+ @vtype const cGH *
@vio in
@vcomment
@endvar
@@ -250,7 +250,7 @@ int IOBasic_TimeForScalarOutput (cGH *GH, int vindex)
@vcomment
@endvar
@@*/
-int IOBasic_TriggerScalarOutput (cGH *GH, int vindex)
+int IOBasic_TriggerScalarOutput (const cGH *GH, int vindex)
{
const char *name;
iobasicGH *myGH;