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 serializedMatchTableMap
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.