Mixing C and gfortran ...

klra67@freenet.de klra67@freenet.de
Thu May 12 17:59:00 GMT 2005


> See libgfortran/libgfortran.h, and look for GFC_ARRAY_DESCRIPTOR.  Also
> ..
> list of things to fix.
Thank you very much. I'm looking at it right now.

> One thing that might change if someone is willing to do the work, is that
> we could add a field to the array descriptors of CHARACTER arrays which
> indicates the length.  This would remove the need to pass a separate hidden
> length argument to functions which takes character arguments.
I'm far from being an expert, but this seems a small advantage for a severe 
change: It makes char array descriptors the odd-man-out of array descriptors.

Klaus



More information about the Fortran mailing list