aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortradke <tradke@38c3d835-c875-442e-b0fe-21c19ce1d001>2003-02-27 16:36:44 +0000
committertradke <tradke@38c3d835-c875-442e-b0fe-21c19ce1d001>2003-02-27 16:36:44 +0000
commit4cc06d28a38fbeb3e17b5fda1c1955fa8236652c (patch)
treeec6feac53d90c8791a8935c20095c9f2af822c25
parentc7d194500d0727555b9d14cdf0f0bea4f3384e9c (diff)
Fixed function alias declarations according to the new semantics.
This closes PR CactusPUGHIO-1414. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOPanda/trunk@49 38c3d835-c875-442e-b0fe-21c19ce1d001
-rw-r--r--interface.ccl46
1 files changed, 26 insertions, 20 deletions
diff --git a/interface.ccl b/interface.ccl
index e612cdb..dcf0c84 100644
--- a/interface.ccl
+++ b/interface.ccl
@@ -4,26 +4,32 @@
implements: IOPanda
inherits: IO Hyperslab FlexIO
-CCTK_INT FUNCTION Hyperslab_Get CCTK_POINTER_TO_CONST cctkGH, \
- CCTK_INT mapping_handle, \
- CCTK_INT proc, \
- CCTK_INT vindex, \
- CCTK_INT timelevel, \
- CCTK_INT hdatatype, \
- CCTK_POINTER hdata
-CCTK_INT FUNCTION Hyperslab_DefineLocalMappingByIndex CCTK_POINTER_TO_CONST cctkGH, \
- CCTK_INT vindex, \
- CCTK_INT hdim, \
- const CCTK_INT *direction, \
- const CCTK_INT *origin, \
- const CCTK_INT *extent, \
- const CCTK_INT *downsample, \
- CCTK_INT table_handle, \
- CCTK_FPOINTER conversion_fn, \
- CCTK_INT *hsize_local, \
- CCTK_INT *hsize_global, \
- CCTK_INT *hoffset_global
-CCTK_INT FUNCTION Hyperslab_FreeMapping CCTK_INT mapping_handle
+
+CCTK_INT FUNCTION \
+ Hyperslab_Get (CCTK_POINTER cctkGH, \
+ CCTK_INT mapping_handle, \
+ CCTK_INT proc, \
+ CCTK_INT vindex, \
+ CCTK_INT timelevel, \
+ CCTK_INT hdatatype, \
+ CCTK_POINTER hdata)
+
+CCTK_INT FUNCTION \
+ Hyperslab_DefineLocalMappingByIndex (CCTK_POINTER cctkGH, \
+ CCTK_INT vindex, \
+ CCTK_INT hdim, \
+ CCTK_INT:ARRAY direction, \
+ CCTK_INT:ARRAY origin, \
+ CCTK_INT:ARRAY extent, \
+ CCTK_INT:ARRAY downsample, \
+ CCTK_INT table_handle, \
+ CCTK_INT CCTK_FPOINTER conversion_fn(CCTK_INT nelems, CCTK_INT stride, CCTK_INT from_type, CCTK_INT to_type, CCTK_POINTER:ARRAY from, CCTK_POINTER:ARRAY to), \
+ CCTK_INT:ARRAY hsize_local, \
+ CCTK_INT:ARRAY hsize_global, \
+ CCTK_INT:ARRAY hoffset_global)
+
+CCTK_INT FUNCTION Hyperslab_FreeMapping (CCTK_INT mapping_handle)
+
USES FUNCTION Hyperslab_Get
USES FUNCTION Hyperslab_DefineLocalMappingByIndex