Skip to content

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

GLN_API void GLN_CALL gln_destroy_backend_result(gln_backend_result_t* in_result);
  • Family: Destroy and release functions
  • Return type: void

Purpose

Releases a backend result envelope and all data still owned by that envelope.

Return

Returns no value.

TypeNullabilityOwnership
voidvaluevalue

Parameters

NameDirectionTypeNullabilityOwnership
in_resultinputgln_backend_result_t*nullableborrowed

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.

See Also