From 4a477a2c7ccf32f0c56a2e1348217ef67bdae0cb Mon Sep 17 00:00:00 2001 From: tradke Date: Mon, 5 Nov 2001 15:12:03 +0000 Subject: 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 --- src/ioHDF5UtilGH.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/ioHDF5UtilGH.h') diff --git a/src/ioHDF5UtilGH.h b/src/ioHDF5UtilGH.h index ed16fb2..ff8984f 100644 --- a/src/ioHDF5UtilGH.h +++ b/src/ioHDF5UtilGH.h @@ -244,26 +244,26 @@ typedef struct hid_t IOHDF5Util_DataType (const ioHDF5UtilGH *myGH, int cctk_type); void IOHDF5Util_ParseVarsForOutput (const char *output_varstring, ioHDF5Geo_t *output_request_list[]); -void IOHDF5Util_DumpParameters (cGH *GH, hid_t group); -void IOHDF5Util_DumpGHExtensions (cGH *GH, hid_t group); -int IOHDF5Util_DumpGH (cGH *GH, int timers[], hid_t file); -void IOHDF5Util_DumpCommonAttributes (cGH *GH, +void IOHDF5Util_DumpParameters (const cGH *GH, hid_t group); +void IOHDF5Util_DumpGHExtensions (const cGH *GH, hid_t group); +int IOHDF5Util_DumpGH (const cGH *GH, const int *timers, hid_t file); +void IOHDF5Util_DumpCommonAttributes (const cGH *GH, int vindex, int timelevel, - CCTK_INT global_shape[], - ioHDF5Geo_t *slab, + const CCTK_INT *global_shape, + const ioHDF5Geo_t *slab, hid_t dataset); -int IOHDF5Util_DumpVar (cGH *GH, +int IOHDF5Util_DumpVar (const cGH *GH, int vindex, int timelevel, - ioHDF5Geo_t *slab, + const ioHDF5Geo_t *slab, hid_t file, int check_exisiting_objects); -int IOHDF5Util_RecoverParameters (fileinfo_t *filenfo); +int IOHDF5Util_RecoverParameters (const fileinfo_t *filenfo); int IOHDF5Util_RecoverGHextensions (cGH *GH, - fileinfo_t *filenfo); + const fileinfo_t *filenfo); int IOHDF5Util_RecoverVariables (cGH *GH, - fileinfo_t *filenfo); + const fileinfo_t *filenfo); #ifdef __cplusplus } // extern "C" -- cgit v1.2.3