Crate matcher_c

Source

Functions§

drop_matcher
Frees the memory allocated for the Matcher instance.
drop_simple_matcher
Deallocates a SimpleMatcher instance.
drop_string
Deallocates a C string that was previously allocated by the Rust code and passed to C.
init_matcher
Initializes a Matcher from a serialized MatchTableMap in MessagePack format.
init_simple_matcher
Initializes a SimpleMatcher instance from serialized table bytes.
matcher_is_match
Checks if the given text matches any pattern in the Matcher.
matcher_process_as_string
Processes the input text through the Matcher and returns the result as a C string.
matcher_word_match_as_string
Processes the input text through the Matcher and returns the word match result as a C string.
simple_matcher_is_match
Determines if the input text matches using the SimpleMatcher.
simple_matcher_process_as_string
Processes the input text using the SimpleMatcher and returns the result as a C string.