GALANTHUS / ABI FUNCTION REFERENCE
gln_get_tan_media_count
Declared in <galanthus/c_api/gln_capi.h>.
GLN_API size_t GLN_CALL gln_get_tan_media_count(const gln_tan_media_t* in_tan_media);
Purpose
Returns the number of TAN medium rows materialized in a gln_tan_media_t view.
Return
Returns the number of rows or entries materialized in the supplied typed view.
| Type | Nullability | Ownership |
|---|---|---|
size_t | value | value |
Parameters
| Name | Direction | Type | Nullability | Ownership |
|---|---|---|---|---|
in_tan_media | input | const gln_tan_media_t* | nullable | borrowed |
Collection Semantics
Counts only TAN medium rows materialized in this gln_tan_media_t view.
Use the returned count as the exclusive upper bound for zero-based gln_get_tan_medium_at indexes.
Notes
Passing NULL for in_tan_media is allowed and returns 0.
Use this count as the exclusive upper bound for gln_get_tan_medium_at.
The count is read from the typed view borrowed from the backend result envelope.