pub unsafe extern "system" fn destroy_instance(
    instance: Instance
) -> Result