GALANTHUS / ABI FUNCTION REFERENCE
gln_get_revolut_payment_draft_payment_at
Declared in <galanthus/c_api/gln_capi.h>.
GLN_API const gln_revolut_payment_draft_payment_t* GLN_CALL gln_get_revolut_payment_draft_payment_at(
const gln_revolut_payment_draft_t* in_draft,
size_t in_index);
Purpose
Returns the element at in_index from the gln revolut payment draft 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_payment_t* | nullable | borrowed |
Parameters
| Name | Direction | Type | Nullability | Ownership |
|---|---|---|---|---|
in_draft | input | const gln_revolut_payment_draft_t* | nullable | borrowed |
in_index | input | size_t | value | value |
Notes
Passing NULL for in_draft is allowed and returns NULL.