GENPTR_SUBROUTINE

Generate a pointer to a SUBROUTINE argument.

Description:

Ensure that there exists a pointer to the subroutine that has been passed as an actual argument from FORTRAN to the C function. Since FORTRAN usually passes arguments by reference, the pointer is commonly available directly from the argument list, so this macro is null.

Invocation

GENPTR_SUBROUTINE(name)

Arguments

name
The dummy argument.

Examples:

GENPTR_SUBROUTINE(name)
will expand as follows:
All systems:

Notes:

The dummy argument should have been declared with the SUBROUTINE macro.