Expand description
Shared utilities.
The framework-agnostic helpers (FourCharCode, ffi_string_*, panic-safe
wrappers) now live in apple_cf::utils and are re-exported here for
backward compatibility.
completion.rs is intentionally NOT re-exported from apple_cf: it is an
API-compatible local replacement whose SyncCompletion::wait is bounded, so
a ScreenCaptureKit callback that never fires can’t hang the caller. See
the module docs for the timeout policy.
error.rs is intentionally NOT migrated — it carries SCStream-specific
error variants that don’t belong in the framework-agnostic foundation.
Modules§
- completion
- Completion handles for Swift bridge callbacks.
- error
- Error types for
ScreenCaptureKit - ffi_
string - FFI string helpers that free bridge-owned strings.
FFI string utilities — back-compat shim over
doom_fish_utils::ffi_string. - four_
char_ code - Minimal
FourCharCodeimplementation for pixel formats and color conversions - panic_
safe - Panic-safety helpers for the C ABI boundary.
Structs§
- Four
Char Code FourCharCoderepresents a 4-character code (used in Core Video/Media)