mode_token_match

Function mode_token_match 

Source
pub unsafe extern "C" fn mode_token_match(
    mode: *const Mode,
    tokens: *mut *mut RofiIntMatcher,
    selected_line: c_uint,
) -> c_int
Expand description

Match entry against the set of tokens.

Returns TRUE if it matches.

  • tokens: The set of tokens to match against.
  • selected_line: The index of the entry to match.