f90wrap
f90wrap copied to clipboard
Use type(c_ptr) instead of transfer() for opaque references to derived types
Casting to type(c_ptr)
is functionally equivalent to using ``transfer()` as we do currently, but the latter is more error prone so we should switch.
See notes here: http://www.fortran90.org/src/best-practices.html#v-using-type-c-ptr-pointer