Skip to content

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

GLN_API const gln_revolut_payment_draft_summary_t* GLN_CALL gln_get_revolut_payment_draft_at(
    const gln_revolut_payment_drafts_t* in_drafts,
    size_t                              in_index);
  • Family: Count and at accessors
  • Return type: const gln_revolut_payment_draft_summary_t*

Purpose

Returns the element at in_index from the gln revolut payment drafts t. The accessor returns NULL when the index is outside the reported count.

Returned pointers are borrowed from the parent result object and must not be released directly.

Return

Returns the borrowed row or entry at in_index, or NULL when the handle is NULL or the index is out of range.

TypeNullabilityOwnership
const gln_revolut_payment_draft_summary_t*nullableborrowed

Parameters

NameDirectionTypeNullabilityOwnership
in_draftsinputconst gln_revolut_payment_drafts_t*nullableborrowed
in_indexinputsize_tvaluevalue

Notes

Passing NULL for in_drafts is allowed and returns NULL.

See Also