[Patch,Fortran] Update gfortran.texi for mixed-language programming
Tobias Burnus
burnus@net-b.de
Mon Jun 1 21:59:00 GMT 2009
Tobias Burnus wrote:
> I did some clean up of gfortran.texi in the introduction,
> [and added a] chapter on mixed-language programming.
>
Thanks to Dominique, Ralf and Craig for the suggestions. I attached is the updated patch.
> Maybe use @deffn here somewhere?
I think it does not fit in the way functions/subroutines are represented
in the gfortran manual.
> I would move 'by default' to after 'call-by-value'. My instincts are
> opposed to calling Fortran's default 'call-by-reference' (probably
> because of numerous corrections in clf to anyone who calls the Fortran
> default that), but I can't think of a short way to state it more
> accurately.
I tried several versions and didn't not come up with something concise,
clear, and correct; thus I still use 'call-by-reference' which is kind
of correct (the address is passed, not necessarily of the actual
argument itself but maybe of a copied object or a temporary variable
[for expressions]).
I hope I have not missed anything.
Build on x86-64-linux. OK for the trunk?
Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gfortran-texi3.diff
Type: text/x-patch
Size: 30322 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20090601/afbc844c/attachment.bin>
More information about the Fortran
mailing list