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//! [`ffi_string`] convenience layer that bakes in `acf_free_string`
8//! for the string-owning helpers.
9
10pub use doom_fish_utils::completion;
11pub use doom_fish_utils::four_char_code;
12pub use doom_fish_utils::four_char_code::FourCharCode;
13pub use doom_fish_utils::panic_safe;
14
15/// FFI string helpers that free bridge-owned strings.
16pub mod ffi_string;