From 9c21ff0c0ac207f4701c4479154c0ea4f17bb89a Mon Sep 17 00:00:00 2001 From: tradke Date: Tue, 12 Nov 2002 11:26:21 +0000 Subject: Pass the cGH pointer as a CCTK_POINTER_TO_CONST. You will need to update the flesh also. git-svn-id: http://svn.cactuscode.org/arrangements/CactusIO/IOJpeg/trunk@78 eff87b29-5268-4891-90a3-a07138403961 --- interface.ccl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interface.ccl b/interface.ccl index 659baa7..ca671d9 100644 --- a/interface.ccl +++ b/interface.ccl @@ -7,14 +7,14 @@ inherits: IO, Hyperslab, jpeg6b USES INCLUDE HEADER: jconfig.h USES INCLUDE HEADER: jpeglib.h -CCTK_INT FUNCTION Hyperslab_Get const CCTK_POINTER cctkGH, \ +CCTK_INT FUNCTION Hyperslab_Get CCTK_POINTER_TO_CONST cctkGH, \ CCTK_INT mapping_handle, \ CCTK_INT proc, \ CCTK_INT vindex, \ CCTK_INT timelevel, \ CCTK_INT hdatatype, \ CCTK_POINTER hdata -CCTK_INT FUNCTION Hyperslab_DefineGlobalMappingByIndex const CCTK_POINTER cctkGH, \ +CCTK_INT FUNCTION Hyperslab_DefineGlobalMappingByIndex CCTK_POINTER_TO_CONST cctkGH, \ CCTK_INT vindex, \ CCTK_INT hdim, \ const CCTK_INT *direction, \ -- cgit v1.2.3