From 0986fc27d88e180899adce3fe5ec9fa352afe58f Mon Sep 17 00:00:00 2001 From: tradke Date: Tue, 12 Nov 2002 11:26:42 +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/CactusPUGHIO/IOFlexIO/trunk@267 ebee0441-1374-4afa-a3b5-247f3ba15b9a --- interface.ccl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/interface.ccl b/interface.ccl index 52f0a5f..5cb2764 100644 --- a/interface.ccl +++ b/interface.ccl @@ -3,14 +3,14 @@ implements: IOFlexIO inherits: IO Hyperslab FlexIO -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_DefineLocalMappingByIndex const CCTK_POINTER cctkGH, \ +CCTK_INT FUNCTION Hyperslab_DefineLocalMappingByIndex CCTK_POINTER_TO_CONST cctkGH, \ CCTK_INT vindex, \ CCTK_INT hdim, \ const CCTK_INT *direction, \ @@ -22,7 +22,7 @@ CCTK_INT FUNCTION Hyperslab_DefineLocalMappingByIndex const CCTK_POINTER cctkGH, CCTK_INT *hsize_local, \ CCTK_INT *hsize_global, \ CCTK_INT *hoffset_global -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