A Fortran function returning COMPLEX or DOUBLE COMPLEX on 32-bit platforms is equivalent to a C function with an additional first argument that points to the return value in memory. The general pattern for the Fortran function and its corresponding C function is:
Fortran function |
C function |
||
---|---|---|---|
|
|
Table 11–13 Function Returning COMPLEX Data (32–bit SPARC)
Fortran calls C |
C calls Fortran |
||
---|---|---|---|
|
|