Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Passing C structures as arguments

michael-a_-walters
182 Views
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
0 Kudos
0 Replies
Reply