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 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.