Skip to content

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

GLN_API size_t GLN_CALL gln_get_error_detail_plugin_searched_path_count(const gln_error_detail_t* in_detail);
  • Family: Count and at accessors
  • Return type: size_t

Purpose

Returns the number of searched plugin paths stored in a GLN_ERROR_DETAIL_PLUGIN_NOT_FOUND payload.

Return

Returns the number of rows or entries materialized in the supplied typed view.

TypeNullabilityOwnership
size_tvaluevalue

Parameters

NameDirectionTypeNullabilityOwnership
in_detailinputconst gln_error_detail_t*nullableborrowed

Notes

Passing NULL for in_detail is allowed and returns 0.

Detail kinds other than GLN_ERROR_DETAIL_PLUGIN_NOT_FOUND return 0.

This accessor documents the supported plugin-not-found payload shape; it does not imply that a current public operation produces that payload.

Use this count as the exclusive upper bound for gln_get_error_detail_plugin_searched_path_at.

See Also