jameskermode/f90wrap — pull request #7 by steven-murray (2014-04-22 00:34:03+00:00)
Title: Change Type selection to Module selection

I realised that finding all referenced types within given modules (or modules which contain given subroutines) will not cover all use-cases. There may be cases in which a variable (of any type, defined or otherwise) is used within a subroutine but defined in a (recursively) used module. Since this variable wouldn't appear in the elements field of any of the provided subroutines, or of the parent module, its module wouldn't necessarily be wrapped, and so the variable would be unable to be modified by the user via python.

I've now made it so any module which is used by the primary given modules, and any used by them, and so on, are wrapped by f90wrap. Only those subroutines which are provided are wrapped, but the module as a whole is wrapped so that any module-level content is properly captured.