Skip to main content

screencapturekit/utils/
mod.rs

1//! Shared utilities.
2//!
3//! The framework-agnostic helpers (`FourCharCode`, `ffi_string_*`, completion
4//! handlers, panic-safe wrappers) now live in `apple_cf::utils` and are
5//! re-exported here for backward compatibility.
6//!
7//! `error.rs` is intentionally NOT migrated — it carries SCStream-specific
8//! error variants that don't belong in the framework-agnostic foundation.
9
10pub mod error;
11pub(crate) mod retained;
12
13pub use apple_cf::utils::FourCharCode;
14pub use apple_cf::utils::{completion, ffi_string, four_char_code, panic_safe};