#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_keyexpr_matches(
pattern: *const c_char,
key: *const c_char,
) -> boolExpand description
Reports whether a pattern selects a key.
§Arguments
pattern- the expression that may carry wildcards, as null-terminated UTF-8.key- the concrete key to test against it, as null-terminated UTF-8.
§Returns
true when the pattern selects the key, or false if it does not or either
argument is null.
§Safety
Both arguments must be valid null-terminated UTF-8 strings for the duration of the call, or null.