diff options
author | eschnett <eschnett@2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8> | 2012-08-09 20:00:55 +0000 |
---|---|---|
committer | eschnett <eschnett@2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8> | 2012-08-09 20:00:55 +0000 |
commit | 8ae7bb244a317b816c2160bac43f40739f5a482f (patch) | |
tree | 407e6bc71f89c86d2714ebbf2e632359f0288163 | |
parent | 65a81b657737c1e50d8481c0dc2a14be858745fb (diff) |
Replace CCTK_RESTRICT by restrict
git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@85 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
-rw-r--r-- | src/slab.cc | 2 | ||||
-rw-r--r-- | src/slab.h | 68 |
2 files changed, 35 insertions, 35 deletions
diff --git a/src/slab.cc b/src/slab.cc index a21ee4e..219f6d5 100644 --- a/src/slab.cc +++ b/src/slab.cc @@ -1084,7 +1084,7 @@ Slab_MultiTransfer_Init CCTK_TimerStartI (timer_init); - slabsetup * CCTK_RESTRICT const slabsetup = new struct slabsetup; + slabsetup * restrict const slabsetup = new struct slabsetup; @@ -91,12 +91,12 @@ struct xferinfo { }; void -print_slabinfo (FILE * const out, - struct slabinfo const * CCTK_RESTRICT const slabinfo); +print_slabinfo (FILE * const out, + struct slabinfo const * restrict const slabinfo); void -print_xferinfo (FILE * const out, - struct xferinfo const * CCTK_RESTRICT const xferinfo); +print_xferinfo (FILE * const out, + struct xferinfo const * restrict const xferinfo); @@ -104,48 +104,48 @@ struct slabsetup; struct slabsetup * Slab_MultiTransfer_Init -(cGH const * CCTK_RESTRICT const cctkGH, - int const dim, - struct xferinfo const * CCTK_RESTRICT const xferinfo, - int const options); +(cGH const * restrict const cctkGH, + int const dim, + struct xferinfo const * restrict const xferinfo, + int const options); int Slab_MultiTransfer_Apply -(cGH const * CCTK_RESTRICT const cctkGH, - struct slabsetup const * CCTK_RESTRICT const slabsetup, - int const nvars, - int const * CCTK_RESTRICT const srctypes, - void const * CCTK_RESTRICT const * CCTK_RESTRICT const srcptrs, - int const * CCTK_RESTRICT const dsttypes, - void * CCTK_RESTRICT const * CCTK_RESTRICT const dstptrs); +(cGH const * restrict const cctkGH, + struct slabsetup const * restrict const slabsetup, + int const nvars, + int const * restrict const srctypes, + void const * restrict const * restrict const srcptrs, + int const * restrict const dsttypes, + void * restrict const * restrict const dstptrs); int Slab_MultiTransfer_Finalize -(cGH const * CCTK_RESTRICT const cctkGH, - struct slabsetup * CCTK_RESTRICT const slabsetup); +(cGH const * restrict const cctkGH, + struct slabsetup * restrict const slabsetup); int Slab_MultiTransfer -(cGH const * CCTK_RESTRICT const cctkGH, - int const dim, - struct xferinfo const * CCTK_RESTRICT const xferinfo, - int const options, - int const nvars, - int const * CCTK_RESTRICT const srctypes, - void const * CCTK_RESTRICT const * CCTK_RESTRICT const srcptrs, - int const * CCTK_RESTRICT const dsttypes, - void * CCTK_RESTRICT const * CCTK_RESTRICT const dstptrs); +(cGH const * restrict const cctkGH, + int const dim, + struct xferinfo const * restrict const xferinfo, + int const options, + int const nvars, + int const * restrict const srctypes, + void const * restrict const * restrict const srcptrs, + int const * restrict const dsttypes, + void * restrict const * restrict const dstptrs); int Slab_Transfer -(cGH const * CCTK_RESTRICT const cctkGH, - int const dim, - struct xferinfo const * CCTK_RESTRICT const xferinfo, - int const options, - int const srctype, - void const * CCTK_RESTRICT const srcptr, - int const dsttype, - void * CCTK_RESTRICT const dstptr); +(cGH const * restrict const cctkGH, + int const dim, + struct xferinfo const * restrict const xferinfo, + int const options, + int const srctype, + void const * restrict const srcptr, + int const dsttype, + void * restrict const dstptr); #ifdef __cplusplus } |