source:http://stackoverflow.com/questions/21400822/c-f-pointer-results-in-undefined-array


this example shows how to pass a struct to fortran 2003 using ISO_C_BINDING
