Passing C structures as arguments

Passing C structures as arguments

Hi,

I have a C function which has as its arguments pointers to some C structures. The structures are defined in a C header file. I am wondering if it is possible to pass in these arguments from a Fortran program. I know you can share structures through modules and/or common blocks, but this is not what I want. I want to pass them as arguments because I don't want to rewrite the C function. Is this possible? I am using the Intel Fortran Compiler 8.0.

Thanks

1 contribution / 0 nouveau(x)
Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels Intel.