fgen.wrapping_strategies.array_deferred_size#

Wrapping strategy for arrays of a deferred size

These are tricky because you have to know the shape of the array before you can retrieve it from the Python side.

WrappingStrategyArrayDeferredSize#

class WrappingStrategyArrayDeferredSize(magnitude_suffix='_m', shape_suffix='_shape', shape_callable_suffix='_shape')[source]#

Bases: object

Wrapping strategy for arrays of a deferred size

magnitude_suffix: str#

Suffix to add to the variable name to indicate that this is the magnitude

shape_callable_suffix: str#

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

shape_suffix: str#

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