aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrideout <rideout@eff87b29-5268-4891-90a3-a07138403961>2003-02-27 16:12:46 +0000
committerrideout <rideout@eff87b29-5268-4891-90a3-a07138403961>2003-02-27 16:12:46 +0000
commit051b475b521d5d11494bbf61d2b4d27e1a344528 (patch)
treee8ddb7687eccb4905b93d0f80a1d7c35544b37ef
parent7c457a7ba63e5090ae05d30bdb60fead58dd2dd1 (diff)
New interface for aliased functions.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusIO/IOJpeg/trunk@81 eff87b29-5268-4891-90a3-a07138403961
-rw-r--r--interface.ccl43
1 files changed, 25 insertions, 18 deletions
diff --git a/interface.ccl b/interface.ccl
index ca671d9..2d94acc 100644
--- a/interface.ccl
+++ b/interface.ccl
@@ -7,24 +7,31 @@ inherits: IO, Hyperslab, jpeg6b
USES INCLUDE HEADER: jconfig.h
USES INCLUDE HEADER: jpeglib.h
-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_DefineGlobalMappingByIndex 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
-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_DefineGlobalMappingByIndex (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)
+
+CCTK_INT FUNCTION Hyperslab_FreeMapping (CCTK_INT mapping_handle)
+
USES FUNCTION Hyperslab_Get
USES FUNCTION Hyperslab_DefineGlobalMappingByIndex