diff options
Diffstat (limited to 'src/PUGHSlab.h')
-rw-r--r-- | src/PUGHSlab.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/PUGHSlab.h b/src/PUGHSlab.h index 7e8acec..8383280 100644 --- a/src/PUGHSlab.h +++ b/src/PUGHSlab.h @@ -18,11 +18,13 @@ extern "C" #endif /* prototype of a datatype conversion routine */ -typedef void (*t_hslabConversionFn) (const void *src, - void *dst, - CCTK_INT nelems, - CCTK_INT src_stride, - CCTK_INT dst_stride); +typedef CCTK_INT (*t_hslabConversionFn) (CCTK_INT nelems, + CCTK_INT src_stride, + CCTK_INT dst_stride, + CCTK_INT src_type, + CCTK_INT dst_type, + CCTK_POINTER_TO_CONST src, + CCTK_POINTER dst); /* function prototypes */ CCTK_INT PUGHSlab_Get (const cGH *GH, |