Function pact_ffi::models::generators::pactffi_generator_to_json

source ·
#[no_mangle]
pub extern "C" fn pactffi_generator_to_json(
    generator: *const Generator
) -> *const c_char
Expand description

Get the JSON form of the generator.

The returned string must be deleted with pactffi_string_delete.

§Safety

This function will fail if it is passed a NULL pointer, or the owner of the generator has been deleted.