Function pact_ffi::models::provider::pactffi_pact_get_provider
source · #[no_mangle]
pub extern "C" fn pactffi_pact_get_provider(
pact: *const Pact,
) -> *const Provider
Expand description
Get the provider from a Pact. This returns a copy of the provider model, and needs to
be cleaned up with pactffi_pact_provider_delete
when no longer required.
§Errors
This function will fail if it is passed a NULL pointer. In the case of error, a NULL pointer will be returned.