GALANTHUS / ABI FUNCTION REFERENCE
gln_destroy_continuation
Declared in <galanthus/c_api/gln_capi.h>.
GLN_API void GLN_CALL gln_destroy_continuation(gln_continuation_t* in_continuation);
Purpose
Releases a continuation handle owned by the caller.
Return
Returns no value.
| Type | Nullability | Ownership |
|---|---|---|
void | value | value |
Parameters
| Name | Direction | Type | Nullability | Ownership |
|---|---|---|---|---|
in_continuation | input | gln_continuation_t* | nonnull | borrowed |
Notes
Use this for continuations returned by gln_take_backend_result_continuation or gln_load_continuation after the caller has saved, resumed, or discarded the continuation.
gln_resume_continuation borrows its in_continuation argument and does not release it for the caller.