Description:
Declare the C function argument(s) to return the value of
a FORTRAN CHARACTER FUNCTION. There is no corresponding actual argument in
the FORTRAN call but the compiler generates an extra argument specifying the address
and possibly another one, specifying the length of the value to be returned.
Invocation
CHARACTER_RETURN_VALUE(arg)
Arguments
arg
The hidden dummy argument to be declared.
Examples:
CHARACTER_RETURN_VALUE(x)
will expand as follows:
All Unix: | char x ,int x_length |
VAX/VMS: | struct dsc$descriptor_s x_arg |