From 5712bf402ea251fc48ae1f440c380a69330a4f6a Mon Sep 17 00:00:00 2001 From: tradke Date: Tue, 12 Nov 2002 11:27:09 +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/CactusBase/IOASCII/trunk@138 94b1c47f-dcfd-45ef-a468-0854c0e9e350 --- interface.ccl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interface.ccl b/interface.ccl index 1354eb3..9d94730 100644 --- a/interface.ccl +++ b/interface.ccl @@ -4,7 +4,7 @@ implements: IOASCII inherits: IO, Hyperslab -CCTK_INT FUNCTION Hyperslab_GetList const CCTK_POINTER cctkGH, \ +CCTK_INT FUNCTION Hyperslab_GetList CCTK_POINTER_TO_CONST cctkGH, \ CCTK_INT mapping_handle, \ CCTK_INT num_arrays, \ const CCTK_INT *procs, \ @@ -13,7 +13,7 @@ CCTK_INT FUNCTION Hyperslab_GetList const CCTK_POINTER cctkGH, \ const CCTK_INT *hdatatypes, \ CCTK_POINTER const *hdata, \ CCTK_INT *retvals -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