aboutsummaryrefslogtreecommitdiff
path: root/src/slab.h
diff options
context:
space:
mode:
authorschnetter <schnetter@2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8>2007-02-28 22:11:46 +0000
committerschnetter <schnetter@2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8>2007-02-28 22:11:46 +0000
commit02fcfe17b895d0632b5f1a9ce218d013bb5964ff (patch)
tree830dc16226cdf96ccf21f878fc08c10995452e9c /src/slab.h
parent2f6320384b3cec7ea446319f9272657d8a79e8e6 (diff)
Add restrict qualifiers
git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Slab/trunk@54 2e825fa2-fb71-486d-8b7f-a5ff3f0f6cb8
Diffstat (limited to 'src/slab.h')
-rw-r--r--src/slab.h44
1 files changed, 23 insertions, 21 deletions
diff --git a/src/slab.h b/src/slab.h
index e30f72a..7c02cce 100644
--- a/src/slab.h
+++ b/src/slab.h
@@ -93,31 +93,33 @@ struct xferinfo {
};
void
-print_slabinfo (FILE * const out,
- struct slabinfo const * const slabinfo);
+print_slabinfo (FILE * const out,
+ struct slabinfo const * CCTK_RESTRICT const slabinfo);
void
-print_xferinfo (FILE * const out,
- struct xferinfo const * const xferinfo);
+print_xferinfo (FILE * const out,
+ struct xferinfo const * CCTK_RESTRICT const xferinfo);
-int Slab_Transfer (cGH const * const cctkGH,
- int const dim,
- struct xferinfo const * const xferinfo,
- int const options,
- int const srctype,
- void const * const srcptr,
- int const dsttype,
- void * const dstptr);
+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);
-int Slab_MultiTransfer (cGH const * const cctkGH,
- int const dim,
- struct xferinfo const * const xferinfo,
- int const options,
- int const nvars,
- int const * const srctypes,
- void const * const * const srcptrs,
- int const * const dsttypes,
- void * const * const dstptrs);
+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);
#ifdef __cplusplus
}