Skip to content

Declared in <galanthus/c_api/gln_capi.h>.

GLN_API size_t GLN_CALL gln_get_tan_modes_count(const gln_tan_modes_t* in_tan_modes);
  • Family: Count and at accessors
  • Return type: size_t

Purpose

Returns the number of TAN mode rows materialized in a gln_tan_modes_t view.

Return

Returns the number of rows or entries materialized in the supplied typed view.

TypeNullabilityOwnership
size_tvaluevalue

Parameters

NameDirectionTypeNullabilityOwnership
in_tan_modesinputconst gln_tan_modes_t*nullableborrowed

Collection Semantics

Counts only TAN mode rows materialized in this gln_tan_modes_t view.

Use the returned count as the exclusive upper bound for zero-based gln_get_tan_mode_at indexes.

Notes

Passing NULL for in_tan_modes is allowed and returns 0.

Use this count as the exclusive upper bound for gln_get_tan_mode_at.

See Also