wiki update and procedure decl question
Steve Kargl
sgk@troutmask.apl.washington.edu
Fri Jun 8 17:02:00 GMT 2007
On Fri, Jun 08, 2007 at 10:53:12AM -0600, Christopher D. Rickett wrote:
>
> the following on the wiki should be able to get removed:
>
> "A "use iso_c_binding, only: c_null_ptr" automatically imports "c_ptr"
> into the namespace, using "_gfortran_ISO_C_Binding_ptr" might be better
> (cf. NAG f95 which uses "typedef void *
> NAGf90_MODULE_iso_c_binding_DT_c_ptr;"). "
>
> this is handled by the patch Steve committed on Wednesday.
>
> i also have a question on what to do with the code i contributed to the
> fortran-experiments branch that started matching procedure declaration
> statements. should it be removed from the branch since it is not part of
> the iso_c_binding work?
>
Is this an initial attempt at implementing F2003 procedure pointers?
Or, is this the needed code for interfacing with procedure pointers
when gfortran finally supports them? If the answer to the first is
'yes', then you can probably remove the code because a Google SoC
has taken on this project. If the answer is 'no' to the first question
and 'yes' to the second, then '#if 0 ... #endif' with a comment
might be appropiate.
--
Steve
More information about the Fortran
mailing list