aboutsummaryrefslogtreecommitdiff
path: root/src/slab.h
diff options
context:
space:
mode:
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
}