GALANTHUS / ABI FUNCTION REFERENCE
gln_get_error_detail_plugin_searched_path_count
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);
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.
| Type | Nullability | Ownership |
|---|---|---|
size_t | value | value |
Parameters
| Name | Direction | Type | Nullability | Ownership |
|---|---|---|---|---|
in_detail | input | const gln_error_detail_t* | nullable | borrowed |
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.