Next Up Previous Contents
Next: A.19 STAR_LARGEFILE_SUPPORT
Up: A The Starconf macros and variables
Previous: A.17 STAR_DEFAULTS
[ID index][Keyword index]

A.18 STAR_INITIALISE_FORTRAN

STAR_INITIALISE_FORTRAN

Define a macro which can be used in a C or C++ main program to initialise the Fortran RTL, including, for example, doing whatever work is required so that the Fortran getarg() function works. This defines the macro STAR_INITIALISE_FORTRAN(argc,argv). If nothing is required or possible on a particular platform, then this expands, harmlessly, to nothing.

You might use this as follows:


#include <config.h>

int main(int argc, char** argv)
{
    STAR_INITIALISE_FORTRAN(argc, argv);

    /* etc */
}


Next Up Previous Contents
Next: A.19 STAR_LARGEFILE_SUPPORT
Up: A The Starconf macros and variables
Previous: A.17 STAR_DEFAULTS
[ID index][Keyword index]
The Starlink Build System
Starlink System Note 78
Norman Gray, Peter W Draper, Mark B Taylor, Steven E Rankin
11 April 2005. Release snapshot: $Revision: 1.116 $. Last updated 28 May 2006