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//! * [`completion`] — sync/async completion-handler bridges
5//! * [`four_char_code`] — `FourCharCode` (used by pixel-format / `OSType` codes)
6//! * [`ffi_string`] — owned-string helpers around bridge fns that return
7//! heap-allocated C strings
8//! * [`panic_safe`] — wrappers that catch panics inside `extern "C"` callbacks
9//! so they don't unwind across the FFI boundary
10
11pub mod completion;
12pub mod ffi_string;
13pub mod four_char_code;
14pub mod panic_safe;
15
16pub use four_char_code::FourCharCode;