llg_matcher_get_error

Function llg_matcher_get_error 

#[unsafe(no_mangle)]
pub extern "C" fn llg_matcher_get_error( matcher: &mut LlgMatcher, ) -> *const i8
Expand description

Get the error message from the matcher or null if there is no error. After it returns a non-null value, it will always return it until the matcher is freed using llg_free_matcher() (at which point the pointer will be invalid).

ยงSafety

This function should only be called from C code.