- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
Link Copied
0 Replies
![](/skins/images/3344F5B3B76C91485ED0E980FD0CA95E/responsive_peak/images/icon_anonymous_message.png)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page