aboutsummaryrefslogtreecommitdiff
path: root/interface.ccl
diff options
context:
space:
mode:
authorrideout <rideout@7842ec3a-9562-4be5-9c5b-06ba18f2b668>2003-02-26 18:38:16 +0000
committerrideout <rideout@7842ec3a-9562-4be5-9c5b-06ba18f2b668>2003-02-26 18:38:16 +0000
commit4c3d677af5f32c64e055fe1705239dbe73c05a9c (patch)
tree1c86e011f770361d95d9098d32873b1f8be44df1 /interface.ccl
parentcfb50136a02328ed4a0692e6b413a94367007d80 (diff)
New specification for describing aliased functions. (from Thomas Radke)
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5Util/trunk@84 7842ec3a-9562-4be5-9c5b-06ba18f2b668
Diffstat (limited to 'interface.ccl')
-rw-r--r--interface.ccl44
1 files changed, 24 insertions, 20 deletions
diff --git a/interface.ccl b/interface.ccl
index 72ed099..be1e4c0 100644
--- a/interface.ccl
+++ b/interface.ccl
@@ -4,26 +4,30 @@
implements: IOHDF5Util
inherits: IO, Hyperslab
-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