fgen.wrapping_strategies.derived_type#
Wrapping strategy for derived types
These are tricky because f2py doesn’t support derived types. As a result, we pass pointers to the derived type instances across the Python-Fortran boundary. This requires careful, custom handling on both sides.
WrappingStrategyDerivedType#
- class WrappingStrategyDerivedType(no_setters_class_suffix='NoSetters', instance_index_suffix='_instance_index')[source]#
Bases:
object
Wrapping strategy for derived types