I have a Fortran subroutine which I want to call from C. One of the arguments is a derived type such as:
type :: pprop real*8 :: x1 real*8 :: x2 real*8 :: x3 real*8 :: x4 end type pprop
On the C side, what can I map this to? Will an array work as all the components are of the same type? Or do I have to map to a struct?