diff options
author | tradke <tradke@7842ec3a-9562-4be5-9c5b-06ba18f2b668> | 2001-11-05 15:12:03 +0000 |
---|---|---|
committer | tradke <tradke@7842ec3a-9562-4be5-9c5b-06ba18f2b668> | 2001-11-05 15:12:03 +0000 |
commit | 4a477a2c7ccf32f0c56a2e1348217ef67bdae0cb (patch) | |
tree | 97bb2f125823efac6e93a24f0afe52e58f1e3126 /src/RecoverVar.c | |
parent | ce402fb886c3764cb3594fbf1272bab7070de89e (diff) |
Added const qualifier to the 'cGH *' argument of some more IO functions.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@44 7842ec3a-9562-4be5-9c5b-06ba18f2b668
Diffstat (limited to 'src/RecoverVar.c')
-rw-r--r-- | src/RecoverVar.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/RecoverVar.c b/src/RecoverVar.c index 0b8781f..852a78e 100644 --- a/src/RecoverVar.c +++ b/src/RecoverVar.c @@ -69,12 +69,12 @@ static herr_t processDataset (hid_t group, @endvar @var fileinfo @vdesc pointer to info structure describing the HDF5 file - @vtype fileinfo_t * + @vtype const fileinfo_t * @vio in @endvar @@*/ int IOHDF5Util_RecoverVariables (cGH *GH, - fileinfo_t *fileinfo) + const fileinfo_t *fileinfo) { DECLARE_CCTK_PARAMETERS #ifdef CCTK_MPI @@ -175,7 +175,7 @@ int IOHDF5Util_RecoverVariables (cGH *GH, sending it in a loop from each IO processor to all the non IOs (don't have subcommunicators yet) */ int IOHDF5Util_RecoverGHextensions (cGH *GH, - fileinfo_t *fileinfo) + const fileinfo_t *fileinfo) { hid_t group; CCTK_REAL4 real4Buffer; @@ -236,7 +236,7 @@ int IOHDF5Util_RecoverGHextensions (cGH *GH, Broadcasting the complete parameter string is found faster than sending it in a loop from each IO processor to all the non IOs (don't have subcommunicators yet) */ -int IOHDF5Util_RecoverParameters (fileinfo_t *fileinfo) +int IOHDF5Util_RecoverParameters (const fileinfo_t *fileinfo) { DECLARE_CCTK_PARAMETERS hid_t group, attr, atype; |