Function pact_ffi::models::expressions::pactffi_matcher_definition_generator
source ยท #[no_mangle]
pub extern "C" fn pactffi_matcher_definition_generator(
definition: *const MatchingRuleDefinitionResult
) -> *const Generator
Expand description
Returns the generator from parsing a matching definition expression. If there was an error or there is no associated generator, it will return a NULL pointer, otherwise returns the generator as a pointer.
The generator pointer will be a valid pointer as long as pactffi_matcher_definition_delete
has not been called on the definition. Using the generator pointer after the definition
has been deleted will result in undefined behaviour.