apple-cf 0.8.0

Safe Rust bindings for Apple's shared Core* frameworks (CoreFoundation, CoreMedia, CoreVideo, CoreGraphics, IOSurface, Dispatch).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Shared utilities used by other modules in this crate and by downstream
//! crates that build on top of the `apple-cf` bridge.
//!
//! Since v0.7.0 these helpers live in the framework-agnostic
//! `doom-fish-utils` crate. This module preserves the historic
//! `apple_cf::utils::*` paths as re-exports plus a thin
//! [`ffi_string`] convenience layer that bakes in `acf_free_string`
//! for the string-owning helpers.

pub use doom_fish_utils::completion;
pub use doom_fish_utils::four_char_code;
pub use doom_fish_utils::four_char_code::FourCharCode;
pub use doom_fish_utils::panic_safe;

/// FFI string helpers that free bridge-owned strings.
pub mod ffi_string;