I have two cases of calling from C# program A a Fortran subroutine (in a DLL) FBn that itself calls a Fortran subroutine (in that same DLL) FCn. So: A -> FB1 -> FC1
Got 2 questions in trying to get Fortran & C TYPES/typdefs working.
First, the typedefs in C;
There was a question in stack overflow about implementing Matlab's diff function in Fortran. First attempt: