~ubuntu-branches/ubuntu/karmic/scilab/karmic

« back to all changes in this revision

Viewing changes to pvm3/conf/TITN.m4

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2002-03-21 16:57:43 UTC
  • Revision ID: james.westby@ubuntu.com-20020321165743-e9mv12c1tb1plztg
Tags: upstream-2.6
ImportĀ upstreamĀ versionĀ 2.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
divert(-1)
 
2
undefine(`len')
 
3
#
 
4
# FORTRAN function names are in upper case
 
5
#
 
6
define(`FUNCTION',`translit($1,abcdefghijklmnopqrstuvwxyz,ABCDEFGHIJKLMNOPQRSTUVWXYZ)')
 
7
#
 
8
# The Titan uses a special string descriptor to pass strings in FORTRAN.
 
9
# The descriptor is passed by reference.
 
10
#
 
11
divert(0)
 
12
typedef struct { char *ptr; int length; } FSD;
 
13
divert(-1)
 
14
define(`STRING_ARG',`$1_fsd')
 
15
define(`STRING_ARG_DECL',`FSD * $1_fsd')
 
16
define(`STRING_LEN',`($1_fsd)->length')
 
17
define(`STRING_PTR',`($1_fsd)->ptr')
 
18
define(`ARGS',`($1)')
 
19
divert(0)