aboutsummaryrefslogtreecommitdiff
path: root/src/PUGHSlab.h
diff options
context:
space:
mode:
authortradke <tradke@10716dce-81a3-4424-a2c8-48026a0d3035>2003-09-01 12:57:52 +0000
committertradke <tradke@10716dce-81a3-4424-a2c8-48026a0d3035>2003-09-01 12:57:52 +0000
commitdc8b4c3e54fd07c0819649d543d47c6c1ad08825 (patch)
treeec46fcef49fa514d60d45e90b469723c18b4d26b /src/PUGHSlab.h
parent3a2760c0e255059b186194f505790e34793803db (diff)
Declare the cGH pointer in aliased routines as CCTK_POINTER_TO_CONST
so that it matches the CST-generated function prototype. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHSlab/trunk@111 10716dce-81a3-4424-a2c8-48026a0d3035
Diffstat (limited to 'src/PUGHSlab.h')
-rw-r--r--src/PUGHSlab.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/PUGHSlab.h b/src/PUGHSlab.h
index 8383280..5a562e0 100644
--- a/src/PUGHSlab.h
+++ b/src/PUGHSlab.h
@@ -27,24 +27,24 @@ typedef CCTK_INT (*t_hslabConversionFn) (CCTK_INT nelems,
CCTK_POINTER dst);
/* function prototypes */
-CCTK_INT PUGHSlab_Get (const cGH *GH,
- CCTK_INT mapping_handle,
- CCTK_INT proc,
- CCTK_INT vindex,
- CCTK_INT timelevel,
- CCTK_INT hdatatype,
- void *hdata);
-CCTK_INT PUGHSlab_GetList (const cGH *GH,
+CCTK_INT PUGHSlab_Get (CCTK_POINTER_TO_CONST _GH,
+ CCTK_INT mapping_handle,
+ CCTK_INT proc,
+ CCTK_INT vindex,
+ CCTK_INT timelevel,
+ CCTK_INT hdatatype,
+ CCTK_POINTER hdata);
+CCTK_INT PUGHSlab_GetList (CCTK_POINTER_TO_CONST _GH,
CCTK_INT mapping_handle,
CCTK_INT num_arrays,
const CCTK_INT *procs, /* num_arrays */
const CCTK_INT *vindices, /* num_arrays */
const CCTK_INT *timelevels, /* num_arrays */
const CCTK_INT *hdatatypes, /* num_arrays */
- void *const *hdata, /* num_arrays */
+ const CCTK_POINTER *hdata, /* num_arrays */
CCTK_INT *retvals /* num_arrays */);
CCTK_INT PUGHSlab_DefineLocalMappingByIndex (
- const cGH *GH,
+ CCTK_POINTER_TO_CONST _GH,
CCTK_INT vindex,
CCTK_INT hdim,
const CCTK_INT *direction, /* vdim*hdim */
@@ -58,7 +58,7 @@ CCTK_INT PUGHSlab_DefineLocalMappingByIndex (
CCTK_INT *hoffset_global /* hdim */);
CCTK_INT PUGHSlab_DefineGlobalMappingByIndex (
- const cGH *GH,
+ CCTK_POINTER_TO_CONST _GH,
CCTK_INT vindex,
CCTK_INT hdim,
const CCTK_INT *direction, /* vdim*hdim */