GALANTHUS / ABI FUNCTION REFERENCE
gln_get_bank_info_accounts_count
Declared in <galanthus/c_api/gln_capi.h>.
GLN_API size_t GLN_CALL gln_get_bank_info_accounts_count(const gln_bank_info_t* in_info);
Purpose
Returns the number of account rows embedded in the typed info 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_info | input | const gln_bank_info_t* | nullable | borrowed |
Embedded Accounts
The info typed view copies each account row from the info result into embedded gln_account_t storage.
Use the same gln_get_account_* field accessors on these rows that are used for rows returned by gln_retrieve_accounts.
Notes
Passing NULL for in_info is allowed and returns 0.
Use this count as the exclusive upper bound for the matching _at accessor.