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 */ }