GALANTHUS / ABI FUNCTION REFERENCE
gln_get_revolut_payment_draft_at
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);
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.
| Type | Nullability | Ownership |
|---|---|---|
const gln_revolut_payment_draft_summary_t* | nullable | borrowed |
Parameters
| Name | Direction | Type | Nullability | Ownership |
|---|---|---|---|---|
in_drafts | input | const gln_revolut_payment_drafts_t* | nullable | borrowed |
in_index | input | size_t | value | value |
Notes
Passing NULL for in_drafts is allowed and returns NULL.