fgen.wrapping_strategies.character_deferred_size#

Wrapping strategy for characters with a deferred size (i.e. length)

These are tricky because you have to know the length of the character when retrieving it from the Python side for the f2py wrappers to build.

WrappingStrategyCharacterDeferredSize#

class WrappingStrategyCharacterDeferredSize(length_suffix='_length', length_callable_suffix='_length')[source]#

Bases: object

Wrapping strategy for characters with a deferred size (i.e. length)

length_callable_suffix: str#

Suffix to use for callables that return the length of the character

length_suffix: str#

Suffix to use for variables that represent the length of the character