fortpy
fortpy copied to clipboard
Removal of `class` Parameters for Non-embedded Executables
When the first argument is an instance of a user-derived type in a subroutine/function, we remove it because fortpy assumes that the subroutine is embedded in the type; but that is not always the case. We need to explicitly check the executables list for the type and make sure it is embedded before removing that argument.