GALANTHUS / ABI FUNCTION REFERENCE
gln_destroy_backend_result
Declared in <galanthus/c_api/gln_capi.h>.
GLN_API void GLN_CALL gln_destroy_backend_result(gln_backend_result_t* in_result);
Purpose
Releases a backend result envelope and all data still owned by that envelope.
Return
Returns no value.
| Type | Nullability | Ownership |
|---|---|---|
void | value | value |
Parameters
| Name | Direction | Type | Nullability | Ownership |
|---|---|---|---|---|
in_result | input | gln_backend_result_t* | nullable | borrowed |
Notes
Passing NULL for in_result is allowed and returns 0.
Destroying the envelope invalidates borrowed errors, interrupt details, typed views, row pointers, row strings, and opaque JSON strings obtained from it.
If the envelope still owns an action-required continuation, destroying the envelope destroys that continuation too. A continuation already taken with gln_take_backend_result_continuation is no longer owned by the envelope and must be destroyed by the caller.