Function interoptopus_reference_project::patterns::service::simple_service_lt_simple_service_destroy[][src]

#[no_mangle]
pub unsafe extern "C" fn simple_service_lt_simple_service_destroy(
    context: &mut *mut SimpleServiceLifetime<'_>
) -> FFIError
Expand description

Destroys the given instance.

Safety

The passed parameter MUST have been created with the corresponding init function; passing any other value results in undefined behavior.