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

« back to all changes in this revision

Viewing changes to pvm3/conf/NETBSDSPARC.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
# FORTRAN character strings are passed as follows:
 
9
#   XXX is this right?
 
10
# a pointer to the base of the string is passed in the normal
 
11
# argument list, and the length is passed by value as an extra
 
12
# argument, after all of the other arguments.
 
13
#
 
14
define(`ARGS',`($1`'undivert(1))')
 
15
define(`SAVE',`divert(1)$1`'divert(0)')
 
16
define(`STRING_ARG',`$1_ptr`'SAVE(`, $1_len')')
 
17
define(`STRING_ARG_DECL',`char * $1_ptr; int $1_len')
 
18
define(`STRING_LEN',`$1_len')
 
19
define(`STRING_PTR',`$1_ptr')
 
20
divert(0)