(j3.2006) Suggestion for Fortran 201x: Adding support for ignoring the TKR of the actual argument
Malcolm Cohen
malcolm
Sun Mar 3 22:05:09 EST 2013
>Secondly, and that's a much bigger issue: If I use a generic interface,
>"dimension(*)" will cease to accept arrays of any rank. Thus, I have to
>add a scalar version and one array version per rank.
So don't use a generic then.
>First, having two "void *buffer" arguments might also occur.
This is a solved problem, just use C_PTR and C_LOC. You don't even need the TS
features for this. Admittedly each call is a little uglier, but it's not that
big a deal.
Cheers,
--
................................Malcolm Cohen, Nihon NAG, Tokyo.
More information about the J3
mailing list