Skip to main content

apple_cf/utils/
mod.rs

1//! Shared utilities used by other modules in this crate and by downstream
2//! crates that build on top of the `apple-cf` bridge.
3//!
4//! Since v0.7.0 these helpers live in the framework-agnostic
5//! `doom-fish-utils` crate. This module preserves the historic
6//! `apple_cf::utils::*` paths as re-exports plus a thin
7//! [`crate::utils::ffi_string`] convenience layer that bakes in
8//! `acf_free_string`
9//! for the string-owning helpers.
10
11pub use doom_fish_utils::completion;
12pub use doom_fish_utils::four_char_code;
13pub use doom_fish_utils::four_char_code::FourCharCode;
14pub use doom_fish_utils::panic_safe;
15
16/// FFI string helpers that free bridge-owned strings.
17pub mod ffi_string;
18
19pub(crate) mod retained;