How can I marshal this C# string to Fortran in a more convenient way?
I currently have a code base written in Fortran with interop code written in C#. In the Fortran code, there are many structures. All arrays and strings are fixed size. There are duplicate definitions of these structures in C# and Fortran. For example,
How can I marshal this C# string to Fortran in a more convenient way?
I currently have a code base written in Fortran with interop code written in C#. In the Fortran code, there are many structures. All arrays and strings are fixed size. There are duplicate definitions of these structures in C# and Fortran. For example,