pub unsafe fn ffi_string_owned<F>(ffi_call: F) -> Option<String>Expand description
Retrieves a string from an FFI function that returns an owned C string
pointer allocated by Swift (typically via strdup), freeing it with
acf_free_string.
This is a thin convenience over
doom_fish_utils::ffi_string::ffi_string_owned.
ยงSafety
The caller must ensure the returned pointer was allocated by the
apple-cf Swift bridge (so that acf_free_string correctly releases
it). See the underlying helper for full safety contract.